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.001676/0.001676, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002716/0.002716, allocations: 190.2 kB / 16.25 MB, free: 6.629 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.926/1.926, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.4476/0.4476, allocations: 39.93 MB / 309.4 MB, free: 9.66 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.001523/0.001523, allocations: 63.91 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1835, allocations: 56.89 MB / 434 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01002/0.1936, allocations: 7.66 MB / 441.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.2, allocations: 2.338 MB / 444 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.2022, allocations: 24 kB / 444 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004856/0.2071, allocations: 1.712 MB / 445.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.2115, allocations: 0.7971 MB / 446.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.2146, allocations: 0.83 MB / 447.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003718/0.2183, allocations: 1.432 MB / 448.8 MB, free: 5.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.2208, allocations: 1.129 MB / 449.9 MB, free: 4.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.2224, allocations: 0.6188 MB / 450.5 MB, free: 3.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.2236, allocations: 0.7431 MB / 451.3 MB, free: 2.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.2238, allocations: 112 kB / 451.4 MB, free: 2.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.2252, allocations: 331.8 kB / 451.7 MB, free: 2.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.2257, allocations: 302.9 kB / 452 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.2268, allocations: 0.6724 MB / 452.7 MB, free: 1.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3783/0.6051, allocations: 1.744 MB / 454.4 MB, free: 40.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.6052, allocations: 0 / 454.4 MB, free: 40.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6052, allocations: 0 / 454.4 MB, free: 40.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.192e-05/0.6053, allocations: 0 / 454.4 MB, free: 40.14 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.008748/0.614, allocations: 2.404 MB / 456.8 MB, free: 39.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.6141, allocations: 12.48 kB / 456.8 MB, free: 39.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009987/0.6241, allocations: 1.488 MB / 458.3 MB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.6258, allocations: 0.6185 MB / 458.9 MB, free: 39.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.025e-05/0.6259, allocations: 100.2 kB / 459 MB, free: 39.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.6261, allocations: 139.8 kB / 459.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.6289, allocations: 1.536 MB / 460.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.629, allocations: 0 / 460.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.6291, allocations: 58.38 kB / 460.8 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.6292, allocations: 34.84 kB / 460.8 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.6316, allocations: 1.579 MB / 462.4 MB, free: 38.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007491/0.6391, allocations: 5.555 MB / 467.9 MB, free: 36.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.6412, allocations: 2.368 MB / 470.3 MB, free: 34.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008633/0.6421, allocations: 0.6516 MB / 471 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.6423, allocations: 110.6 kB / 471.1 MB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.6423, allocations: 42.81 kB / 471.1 MB, free: 33.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 4.318e-06/0.6423, allocations: 0 / 471.1 MB, free: 33.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.00811/0.6504, allocations: 3.168 MB / 474.3 MB, free: 32.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.6505, allocations: 92.98 kB / 474.4 MB, free: 32.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.6509, allocations: 478.9 kB / 474.8 MB, free: 32.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.651, allocations: 51.12 kB / 474.9 MB, free: 32.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.6512, allocations: 485.5 kB / 475.4 MB, free: 31.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.6515, allocations: 436 kB / 475.8 MB, free: 31.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.6518, allocations: 222.5 kB / 476 MB, free: 31.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6519, allocations: 383.4 kB / 476.4 MB, free: 31.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.6526, allocations: 467.8 kB / 476.8 MB, free: 30.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.6535, allocations: 0.7424 MB / 477.6 MB, free: 30.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.655, allocations: 1.26 MB / 478.8 MB, free: 29.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.655, allocations: 3.156 kB / 478.8 MB, free: 29.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002528/0.6576, allocations: 1.668 MB / 480.5 MB, free: 28.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.6576, allocations: 12.44 kB / 480.5 MB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.6576, allocations: 8.438 kB / 480.5 MB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.659, allocations: 0.5354 MB / 481.1 MB, free: 28.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007542/0.6598, allocations: 214.2 kB / 481.3 MB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002115/0.66, allocations: 58.09 kB / 481.3 MB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.6608, allocations: 129.8 kB / 481.5 MB, free: 28.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.045e-05/0.6609, allocations: 55.39 kB / 481.5 MB, free: 28.66 MB / 382.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.0005022/0.6614, allocations: 275.6 kB / 481.8 MB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6616, allocations: 81.41 kB / 481.9 MB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.6639, allocations: 1.583 MB / 483.4 MB, free: 27.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.6639, allocations: 12.78 kB / 483.5 MB, free: 27.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.664, allocations: 4 kB / 483.5 MB, free: 27.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.664, allocations: 12.11 kB / 483.5 MB, free: 27.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.6679, allocations: 2.896 MB / 486.4 MB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.6679, allocations: 3.453 kB / 486.4 MB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/0.6687, allocations: 148.9 kB / 486.5 MB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.6702, allocations: 0.5263 MB / 487 MB, free: 26.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/0.6703, allocations: 28.53 kB / 487.1 MB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.883e-05/0.6704, allocations: 29.8 kB / 487.1 MB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6704, allocations: 5.219 kB / 487.1 MB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/0.6744, allocations: 2.299 MB / 489.4 MB, free: 24.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.6748, allocations: 290.5 kB / 489.7 MB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.6749, allocations: 21.59 kB / 489.7 MB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.6755, allocations: 52.2 kB / 489.8 MB, free: 24.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.6757, allocations: 74.53 kB / 489.8 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.6758, allocations: 36.89 kB / 489.9 MB, free: 24.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004011/0.6762, allocations: 319.9 kB / 490.2 MB, free: 24.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6762, allocations: 0 / 490.2 MB, free: 24.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001202/0.6774, allocations: 345.3 kB / 490.5 MB, free: 24.34 MB / 382.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.0003139/0.6778, allocations: 163.9 kB / 490.7 MB, free: 24.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003641/0.6814, allocations: 1.43 MB / 492.1 MB, free: 23.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6814, allocations: 4 kB / 492.1 MB, free: 23.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.6832, allocations: 0.7724 MB / 492.9 MB, free: 23.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.684, allocations: 103 kB / 493 MB, free: 23.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.6887, allocations: 2.638 MB / 495.6 MB, free: 21.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.6893, allocations: 1.047 MB / 496.7 MB, free: 21.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.6899, allocations: 115.3 kB / 496.8 MB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.6901, allocations: 63.33 kB / 496.8 MB, free: 21.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6901, allocations: 0 / 496.8 MB, free: 21.01 MB / 382.1 MB Notification: Performance of Templates: time 0.02945/0.7196, allocations: 13.84 MB / 0.4987 GB, free: 18.08 MB / 382.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)