Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008215/0.0008216, allocations: 95.56 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.994e-05, allocations: 4 kB / 343.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08777, allocations: 51.47 MB / 395.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3121/0.3999, allocations: 89.26 MB / 484.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4002, allocations: 82.12 kB / 484.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1324/0.5326, allocations: 55.71 MB / 0.5276 GB, free: 1.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5326, allocations: 4 kB / 0.5276 GB, free: 1.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.5327, allocations: 47.94 kB / 0.5276 GB, free: 1.148 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003154/0.5359, allocations: 1.848 MB / 0.5294 GB, free: 15.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5359, allocations: 8.031 kB / 0.5294 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.5368, allocations: 289.3 kB / 0.5297 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.5388, allocations: 1.317 MB / 0.531 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.5388, allocations: 60 kB / 0.531 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.5391, allocations: 104 kB / 0.5311 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002681/0.5417, allocations: 1.757 MB / 0.5329 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.545, allocations: 2.164 MB / 0.535 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.5451, allocations: 4 kB / 0.535 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.5452, allocations: 4 kB / 0.535 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.314e-05/0.5453, allocations: 99.58 kB / 0.5351 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009395/0.5547, allocations: 7.071 MB / 0.542 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5559, allocations: 1.22 MB / 0.5432 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.5565, allocations: 446.6 kB / 0.5436 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.5568, allocations: 125.6 kB / 0.5437 GB, free: 100 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.5568, allocations: 39 kB / 0.5437 GB, free: 52 kB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 2.394e-06/0.5569, allocations: 0 / 0.5437 GB, free: 52 kB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.002752/0.5596, allocations: 1.741 MB / 0.5454 GB, free: 14.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.5597, allocations: 81.55 kB / 0.5455 GB, free: 14.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.561, allocations: 1.108 MB / 0.5466 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.5611, allocations: 25.7 kB / 0.5466 GB, free: 13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006767/0.5618, allocations: 0.9902 MB / 0.5476 GB, free: 11.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.5619, allocations: 185.5 kB / 0.5478 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.5619, allocations: 0 / 0.5478 GB, free: 11.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5621, allocations: 361.9 kB / 0.5481 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.5627, allocations: 402.4 kB / 0.5485 GB, free: 11.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009042/0.5636, allocations: 1.014 MB / 0.5495 GB, free: 9.727 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.5644, allocations: 0.629 MB / 0.5501 GB, free: 9.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.5644, allocations: 8 kB / 0.5501 GB, free: 9.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002152/0.5666, allocations: 1.442 MB / 0.5515 GB, free: 7.637 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.5666, allocations: 16.09 kB / 0.5515 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.5666, allocations: 24 kB / 0.5516 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003892/0.567, allocations: 140.7 kB / 0.5517 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.5679, allocations: 291.5 kB / 0.552 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.57, allocations: 2.05 MB / 0.554 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008931/0.5709, allocations: 59.67 kB / 0.554 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.5711, allocations: 75.95 kB / 0.5541 GB, free: 4.875 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.5713, allocations: 164.3 kB / 0.5543 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.5715, allocations: 114.6 kB / 0.5544 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.5727, allocations: 0.7422 MB / 0.5551 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5727, allocations: 7.938 kB / 0.5551 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5727, allocations: 0 / 0.5551 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5728, allocations: 7.922 kB / 0.5551 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.5759, allocations: 2.165 MB / 0.5572 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.576, allocations: 11.89 kB / 0.5572 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.5763, allocations: 99.88 kB / 0.5573 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.5766, allocations: 112.8 kB / 0.5574 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.5767, allocations: 4 kB / 0.5574 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.5785, allocations: 2.017 MB / 0.5594 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5785, allocations: 0 / 0.5594 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.5801, allocations: 1.349 MB / 0.5607 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.5804, allocations: 271.6 kB / 0.561 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.5806, allocations: 4 kB / 0.561 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.5811, allocations: 44.03 kB / 0.561 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.5812, allocations: 47.88 kB / 0.5611 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.5813, allocations: 27.98 kB / 0.5611 GB, free: 13.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.5823, allocations: 0.8132 MB / 0.5619 GB, free: 12.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5823, allocations: 0 / 0.5619 GB, free: 12.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001245/0.5836, allocations: 327.9 kB / 0.5622 GB, free: 12.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002863/0.5839, allocations: 181 kB / 0.5624 GB, free: 12.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.5853, allocations: 1.033 MB / 0.5634 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5853, allocations: 0 / 0.5634 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.5859, allocations: 490.8 kB / 0.5639 GB, free: 10.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.587, allocations: 240.2 kB / 0.5641 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.5908, allocations: 2.436 MB / 0.5665 GB, free: 7.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.592, allocations: 1.744 MB / 0.5682 GB, free: 5.973 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008222/0.5929, allocations: 297.8 kB / 0.5685 GB, free: 5.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.5931, allocations: 75.44 kB / 0.5685 GB, free: 5.605 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5931, allocations: 0 / 0.5685 GB, free: 5.605 MB / 442.7 MB Notification: Performance of Templates: time 0.217/0.8101, allocations: 12.91 MB / 0.5811 GB, free: 87.47 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches