Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007291/0.007291, allocations: 100.9 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 186.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4466/0.4466, allocations: 39.94 MB / 309.8 MB, free: 9.402 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 71.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4283, allocations: 56.87 MB / 492.7 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009818/0.4381, allocations: 7.729 MB / 0.4887 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007373/0.4456, allocations: 2.355 MB / 0.491 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.4471, allocations: 29.53 kB / 0.491 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004677/0.4518, allocations: 1.819 MB / 0.4928 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.455, allocations: 0.8909 MB / 0.4936 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.4573, allocations: 0.8893 MB / 0.4945 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.4596, allocations: 1.444 MB / 0.4959 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.4612, allocations: 1.007 MB / 0.4969 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007987/0.462, allocations: 0.616 MB / 0.4975 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00092/0.4629, allocations: 0.7411 MB / 0.4982 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.4631, allocations: 114.3 kB / 0.4983 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.4642, allocations: 331.8 kB / 0.4986 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.4645, allocations: 311.4 kB / 0.4989 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005829/0.465, allocations: 0.67 MB / 0.4996 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.4671, allocations: 1.766 MB / 0.5013 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.4671, allocations: 1.156 kB / 0.5013 GB, free: 5.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4671, allocations: 0 / 0.5013 GB, free: 5.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.4671, allocations: 0 / 0.5013 GB, free: 5.852 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007349/0.4745, allocations: 2.408 MB / 0.5037 GB, free: 4.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4745, allocations: 14.08 kB / 0.5037 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.4847, allocations: 1.489 MB / 0.5051 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.486, allocations: 0.6257 MB / 0.5057 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.4861, allocations: 106.6 kB / 0.5058 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.4864, allocations: 136.4 kB / 0.506 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.4891, allocations: 1.53 MB / 0.5075 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.4891, allocations: 6.656 kB / 0.5075 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.4893, allocations: 59.34 kB / 0.5075 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.4893, allocations: 38.11 kB / 0.5076 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/0.492, allocations: 1.571 MB / 0.5091 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008286/0.5003, allocations: 5.511 MB / 0.5145 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.5034, allocations: 2.368 MB / 0.5168 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.5047, allocations: 0.652 MB / 0.5174 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.5048, allocations: 103.8 kB / 0.5175 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.5049, allocations: 57.31 kB / 0.5176 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 4.659e-06/0.5049, allocations: 0 / 0.5176 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.008789/0.5137, allocations: 3.162 MB / 0.5207 GB, free: 7.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.5138, allocations: 94.14 kB / 0.5208 GB, free: 6.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.5144, allocations: 477.9 kB / 0.5212 GB, free: 6.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.5145, allocations: 49.7 kB / 0.5213 GB, free: 6.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.5148, allocations: 487.2 kB / 0.5217 GB, free: 5.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.5152, allocations: 433.6 kB / 0.5222 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.5155, allocations: 230.8 kB / 0.5224 GB, free: 5.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5157, allocations: 382.8 kB / 0.5227 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/0.5165, allocations: 471.1 kB / 0.5232 GB, free: 4.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.5175, allocations: 0.7442 MB / 0.5239 GB, free: 3.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.5194, allocations: 1.259 MB / 0.5251 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.5194, allocations: 4 kB / 0.5251 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00295/0.5224, allocations: 1.658 MB / 0.5268 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.5224, allocations: 9.094 kB / 0.5268 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.5224, allocations: 19.92 kB / 0.5268 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.524, allocations: 0.5322 MB / 0.5273 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.5248, allocations: 207.7 kB / 0.5275 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002143/0.5251, allocations: 73.09 kB / 0.5276 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/0.5259, allocations: 122.7 kB / 0.5277 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.526, allocations: 55.98 kB / 0.5277 GB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006848/0.5267, allocations: 277.5 kB / 0.528 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.5269, allocations: 82.97 kB / 0.5281 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.5297, allocations: 1.583 MB / 0.5296 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.5298, allocations: 12 kB / 0.5297 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5298, allocations: 0 / 0.5297 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5298, allocations: 7.969 kB / 0.5297 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/0.5348, allocations: 2.894 MB / 0.5325 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5349, allocations: 0 / 0.5325 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.5355, allocations: 147.8 kB / 0.5326 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.537, allocations: 0.5184 MB / 0.5331 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/0.5371, allocations: 31.98 kB / 0.5332 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.681e-05/0.5372, allocations: 28.84 kB / 0.5332 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5372, allocations: 3.938 kB / 0.5332 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.5411, allocations: 2.29 MB / 0.5354 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/0.5417, allocations: 283.7 kB / 0.5357 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.5419, allocations: 24 kB / 0.5357 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007028/0.5426, allocations: 47.97 kB / 0.5358 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.5428, allocations: 85.19 kB / 0.5359 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.668e-05/0.5429, allocations: 36 kB / 0.5359 GB, free: 7.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004402/0.5433, allocations: 322.9 kB / 0.5362 GB, free: 6.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5433, allocations: 3.938 kB / 0.5362 GB, free: 6.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001315/0.5447, allocations: 339.1 kB / 0.5365 GB, free: 6.367 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003632/0.545, allocations: 163 kB / 0.5367 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.5482, allocations: 1.388 MB / 0.538 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5482, allocations: 4.188 kB / 0.538 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.55, allocations: 0.7699 MB / 0.5388 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.5509, allocations: 102.2 kB / 0.5389 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.5556, allocations: 2.099 MB / 0.5409 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.5564, allocations: 1.048 MB / 0.542 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005268/0.5569, allocations: 119 kB / 0.5421 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5572, allocations: 63.42 kB / 0.5421 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of SimCode: time 1.073e-06/0.5572, allocations: 0 / 0.5421 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of Templates: time 0.0266/0.5838, allocations: 14.15 MB / 0.5559 GB, free: 2.395 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)