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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008617/0.0008619, allocations: 92.22 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.104e-06/7.114e-06, allocations: 4 kB / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09415/0.09417, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2529/0.3471, allocations: 89.19 MB / 483.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.3473, allocations: 81.89 kB / 483.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1358/0.4832, allocations: 55.62 MB / 0.5269 GB, free: 1.703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001428/0.4833, allocations: 51.94 kB / 0.5269 GB, free: 1.652 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.004132/0.4875, allocations: 1.866 MB / 0.5287 GB, free: 15.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.4875, allocations: 8.031 kB / 0.5287 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.4887, allocations: 297.3 kB / 0.529 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.4913, allocations: 1.333 MB / 0.5303 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.4914, allocations: 64 kB / 0.5304 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.4917, allocations: 103.9 kB / 0.5305 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003115/0.4948, allocations: 1.803 MB / 0.5323 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003616/0.4984, allocations: 2.199 MB / 0.5344 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.4985, allocations: 0 / 0.5344 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.4986, allocations: 7.938 kB / 0.5344 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.923e-05/0.4987, allocations: 95.58 kB / 0.5345 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.5097, allocations: 7.141 MB / 0.5415 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5109, allocations: 0.878 MB / 0.5423 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/0.5117, allocations: 0.5378 MB / 0.5429 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.512, allocations: 129.4 kB / 0.543 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.512, allocations: 39 kB / 0.543 GB, free: 0.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 2.284e-06/0.512, allocations: 4 kB / 0.543 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.0032/0.5152, allocations: 1.755 MB / 0.5447 GB, free: 14.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.5153, allocations: 81.55 kB / 0.5448 GB, free: 14.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.5169, allocations: 1.127 MB / 0.5459 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.517, allocations: 25.7 kB / 0.5459 GB, free: 13.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/0.5175, allocations: 0.8497 MB / 0.5468 GB, free: 12.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.5177, allocations: 185.4 kB / 0.5469 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.5178, allocations: 0 / 0.5469 GB, free: 12.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5179, allocations: 353.9 kB / 0.5473 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/0.5185, allocations: 418.4 kB / 0.5477 GB, free: 11.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/0.5195, allocations: 1.038 MB / 0.5487 GB, free: 10.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/0.5203, allocations: 0.6525 MB / 0.5493 GB, free: 9.758 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.5203, allocations: 4 kB / 0.5493 GB, free: 9.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002299/0.5226, allocations: 1.452 MB / 0.5508 GB, free: 8.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5227, allocations: 4 kB / 0.5508 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.5227, allocations: 24 kB / 0.5508 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.5231, allocations: 153.1 kB / 0.5509 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.5241, allocations: 295.5 kB / 0.5512 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.5261, allocations: 2.025 MB / 0.5532 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009426/0.5271, allocations: 71.66 kB / 0.5533 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5272, allocations: 68 kB / 0.5533 GB, free: 5.547 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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.0001828/0.5274, allocations: 164.3 kB / 0.5535 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.5276, allocations: 114.6 kB / 0.5536 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.5288, allocations: 0.7529 MB / 0.5543 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.5289, allocations: 7.906 kB / 0.5543 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5289, allocations: 7.938 kB / 0.5543 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5289, allocations: 3.984 kB / 0.5543 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.5323, allocations: 2.184 MB / 0.5565 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5323, allocations: 4 kB / 0.5565 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.5328, allocations: 104.2 kB / 0.5566 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/0.5331, allocations: 108.9 kB / 0.5567 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.5332, allocations: 11.92 kB / 0.5567 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.535, allocations: 1.978 MB / 0.5586 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.535, allocations: 7.984 kB / 0.5586 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001632/0.5367, allocations: 1.392 MB / 0.56 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.5372, allocations: 267.6 kB / 0.5602 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.5374, allocations: 4 kB / 0.5602 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.538, allocations: 48.03 kB / 0.5603 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.5381, allocations: 43.84 kB / 0.5603 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.5381, allocations: 20 kB / 0.5604 GB, free: 13.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0011/0.5392, allocations: 0.8327 MB / 0.5612 GB, free: 13.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001245/0.5405, allocations: 315.9 kB / 0.5615 GB, free: 12.84 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.0003126/0.5408, allocations: 188 kB / 0.5616 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.5424, allocations: 1.045 MB / 0.5627 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5424, allocations: 0 / 0.5627 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006644/0.543, allocations: 474.5 kB / 0.5631 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5441, allocations: 232.8 kB / 0.5633 GB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.5488, allocations: 2.504 MB / 0.5658 GB, free: 8.316 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/0.5504, allocations: 1.817 MB / 0.5676 GB, free: 6.469 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5504, allocations: 0 / 0.5676 GB, free: 6.469 MB / 442.7 MB Notification: Performance of Templates: time 0.1559/0.7063, allocations: 13.23 MB / 0.5805 GB, free: 112.4 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