Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [: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 3.2.2+maint.om/package.mo): time 0.001217/0.001217, allocations: 195 kB / 7.464 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.261/1.261, allocations: 194.2 MB / 202.1 MB, free: 14.31 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00168/0.00168, allocations: 112.3 kB / 247.1 MB, free: 0.5156 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1817/0.1817, allocations: 39.94 MB / 331.9 MB, free: 11.57 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 8.395e-06/8.425e-06, allocations: 0 / 392.8 MB, free: 48.38 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 54.86 MB / 447.6 MB, free: 9.434 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4458, allocations: 90.03 MB / 0.5251 GB, free: 8.82 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4461, allocations: 76.48 kB / 0.5251 GB, free: 8.746 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.07463/0.5208, allocations: 31.78 MB / 0.5562 GB, free: 8.621 MB / 402.8 MB Notification: Performance of Transformations before backend: time 3.402e-05/0.5208, allocations: 27.92 kB / 0.5562 GB, free: 8.594 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.00289/0.5237, allocations: 1.248 MB / 0.5574 GB, free: 7.297 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5238, allocations: 8.031 kB / 0.5574 GB, free: 7.289 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/0.5312, allocations: 1.087 MB / 0.5585 GB, free: 6.199 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009234/0.5321, allocations: 0.52 MB / 0.559 GB, free: 5.641 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.5322, allocations: 39.91 kB / 0.559 GB, free: 5.602 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5323, allocations: 72 kB / 0.5591 GB, free: 5.531 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002325/0.5347, allocations: 1.301 MB / 0.5604 GB, free: 4.227 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.5363, allocations: 0.8791 MB / 0.5612 GB, free: 3.324 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.5364, allocations: 7.906 kB / 0.5612 GB, free: 3.316 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.5365, allocations: 0 / 0.5612 GB, free: 3.316 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.5365, allocations: 32 kB / 0.5613 GB, free: 3.285 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007676/0.5442, allocations: 4.775 MB / 0.5659 GB, free: 14.18 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.5455, allocations: 0.7023 MB / 0.5666 GB, free: 13.48 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.546, allocations: 319.2 kB / 0.5669 GB, free: 13.16 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.5461, allocations: 93.88 kB / 0.567 GB, free: 13.05 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.5462, allocations: 43.34 kB / 0.5671 GB, free: 13 MB / 418.8 MB Notification: Performance of pre-optimization done (n=91): time 2.355e-06/0.5462, allocations: 4 kB / 0.5671 GB, free: 13 MB / 418.8 MB Notification: Performance of matching and sorting (n=91): time 0.001547/0.5477, allocations: 0.6676 MB / 0.5677 GB, free: 12.32 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.5478, allocations: 60.19 kB / 0.5678 GB, free: 12.25 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.5483, allocations: 408.6 kB / 0.5682 GB, free: 11.84 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.5483, allocations: 29.7 kB / 0.5682 GB, free: 11.81 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.5486, allocations: 478 kB / 0.5687 GB, free: 11.33 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.5488, allocations: 295.5 kB / 0.5689 GB, free: 11.04 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.5488, allocations: 0 / 0.5689 GB, free: 11.04 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.549, allocations: 370.7 kB / 0.5693 GB, free: 10.67 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.5495, allocations: 298.6 kB / 0.5696 GB, free: 10.38 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/0.5502, allocations: 0.5492 MB / 0.5701 GB, free: 9.719 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.5512, allocations: 426.7 kB / 0.5705 GB, free: 9.305 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5513, allocations: 4 kB / 0.5705 GB, free: 9.301 MB / 418.8 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002251/0.5535, allocations: 1.035 MB / 0.5715 GB, free: 8.25 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5536, allocations: 8 kB / 0.5715 GB, free: 8.242 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.5536, allocations: 8.75 kB / 0.5715 GB, free: 8.234 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.5539, allocations: 65.67 kB / 0.5716 GB, free: 8.164 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.555, allocations: 267.6 kB / 0.5719 GB, free: 7.902 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.5571, allocations: 2.524 MB / 0.5743 GB, free: 5.145 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.558, allocations: 94.97 kB / 0.5744 GB, free: 5.051 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.5581, allocations: 55.92 kB / 0.5745 GB, free: 4.996 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.5583, allocations: 124.7 kB / 0.5746 GB, free: 4.867 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.5584, allocations: 63.25 kB / 0.5746 GB, free: 4.805 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.5603, allocations: 1.008 MB / 0.5756 GB, free: 3.77 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.5603, allocations: 12 kB / 0.5756 GB, free: 3.758 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5603, allocations: 7.938 kB / 0.5757 GB, free: 3.75 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.5603, allocations: 3.984 kB / 0.5757 GB, free: 3.746 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.5644, allocations: 2.95 MB / 0.5785 GB, free: 476 kB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.5644, allocations: 8 kB / 0.5785 GB, free: 468 kB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/0.5653, allocations: 195.7 kB / 0.5787 GB, free: 272 kB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.5655, allocations: 61.67 kB / 0.5788 GB, free: 204 kB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.5656, allocations: 20.09 kB / 0.5788 GB, free: 184 kB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.5677, allocations: 2.512 MB / 0.5813 GB, free: 13.44 MB / 434.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.5678, allocations: 11.94 kB / 0.5813 GB, free: 13.43 MB / 434.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002548/0.5703, allocations: 1.731 MB / 0.583 GB, free: 11.39 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.5706, allocations: 172.1 kB / 0.5831 GB, free: 11.21 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5707, allocations: 12.05 kB / 0.5831 GB, free: 11.2 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.5714, allocations: 47.98 kB / 0.5832 GB, free: 11.15 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.5716, allocations: 72.41 kB / 0.5833 GB, free: 11.08 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.5716, allocations: 32 kB / 0.5833 GB, free: 11.05 MB / 434.8 MB Notification: Performance of sort global known variables: time 0.0004119/0.5721, allocations: 319.2 kB / 0.5836 GB, free: 10.73 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.001025/0.5731, allocations: 287 kB / 0.5839 GB, free: 10.45 MB / 434.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003053/0.5734, allocations: 158.9 kB / 0.584 GB, free: 10.29 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.5751, allocations: 0.9676 MB / 0.585 GB, free: 9.309 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5751, allocations: 4 kB / 0.585 GB, free: 9.305 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008146/0.5759, allocations: 0.5669 MB / 0.5855 GB, free: 8.719 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.5764, allocations: 65.53 kB / 0.5856 GB, free: 8.656 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.5811, allocations: 1.794 MB / 0.5873 GB, free: 6.73 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/0.5821, allocations: 1.085 MB / 0.5884 GB, free: 5.613 MB / 434.8 MB Notification: Performance of SimCode: time 5.41e-07/0.5821, allocations: 3.938 kB / 0.5884 GB, free: 5.609 MB / 434.8 MB Notification: Performance of Templates: time 0.01807/0.6001, allocations: 10.41 MB / 0.5986 GB, free: 11.22 MB / 450.8 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1)