Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_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.001049/0.001049, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4281/0.4281, allocations: 43.58 MB / 315 MB, free: 8.797 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: Performance of FrontEnd - loaded program: time 0.0005392/0.0005392, allocations: 14.97 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1546, allocations: 58.87 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007069/0.1617, allocations: 7.132 MB / 450.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004727/0.1664, allocations: 2.314 MB / 452.9 MB, free: 3.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008137/0.1673, allocations: 28 kB / 452.9 MB, free: 3.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009694/0.1683, allocations: 358.3 kB / 453.3 MB, free: 2.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.1707, allocations: 0.8009 MB / 454.1 MB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.1728, allocations: 0.8262 MB / 454.9 MB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2459/0.4188, allocations: 1.37 MB / 456.3 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/0.4227, allocations: 1.692 MB / 458 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007982/0.4235, allocations: 0.5338 MB / 458.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.4241, allocations: 0.6652 MB / 459.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.4242, allocations: 60.34 kB / 459.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006373/0.4249, allocations: 267.4 kB / 459.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.425, allocations: 243.7 kB / 459.7 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005839/0.4256, allocations: 0.6181 MB / 460.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.4275, allocations: 1.664 MB / 462 MB, free: 35.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4275, allocations: 0 / 462 MB, free: 35.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4275, allocations: 2.906 kB / 462 MB, free: 35.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.4275, allocations: 0 / 462 MB, free: 35.81 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.006687/0.4342, allocations: 2.156 MB / 464.2 MB, free: 35.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4343, allocations: 11.19 kB / 464.2 MB, free: 35.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.4445, allocations: 1.5 MB / 465.7 MB, free: 34.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.4461, allocations: 0.6172 MB / 466.3 MB, free: 34.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.4462, allocations: 105.5 kB / 466.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.4466, allocations: 134.8 kB / 466.5 MB, free: 34.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.4492, allocations: 1.542 MB / 468.1 MB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.4493, allocations: 4.406 kB / 468.1 MB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.4494, allocations: 56.53 kB / 468.1 MB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.4495, allocations: 39.36 kB / 468.2 MB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.4519, allocations: 1.593 MB / 469.8 MB, free: 34.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006518/0.4584, allocations: 5.593 MB / 475.3 MB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.4604, allocations: 2.374 MB / 477.7 MB, free: 30.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000857/0.4612, allocations: 0.6719 MB / 478.4 MB, free: 29.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.4614, allocations: 103.7 kB / 478.5 MB, free: 29.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4614, allocations: 50.33 kB / 478.5 MB, free: 29.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.717e-06/0.4614, allocations: 0 / 478.5 MB, free: 29.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.008598/0.47, allocations: 3.221 MB / 481.8 MB, free: 28.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.4701, allocations: 94.23 kB / 481.9 MB, free: 28.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.4706, allocations: 481.1 kB / 482.3 MB, free: 28.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.4706, allocations: 47.67 kB / 482.4 MB, free: 28.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.4708, allocations: 484.3 kB / 482.8 MB, free: 27.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.4711, allocations: 429.5 kB / 483.3 MB, free: 27.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.4712, allocations: 109.7 kB / 483.4 MB, free: 27.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.4713, allocations: 383.7 kB / 483.7 MB, free: 27.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.472, allocations: 476.2 kB / 484.2 MB, free: 26.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/0.4728, allocations: 0.7513 MB / 485 MB, free: 26.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.4744, allocations: 1.282 MB / 486.2 MB, free: 25.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4744, allocations: 0 / 486.2 MB, free: 25.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002838/0.4773, allocations: 1.684 MB / 487.9 MB, free: 24.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4773, allocations: 9.344 kB / 487.9 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.4773, allocations: 7.594 kB / 487.9 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.4788, allocations: 0.5326 MB / 488.5 MB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.4795, allocations: 218.4 kB / 488.7 MB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006809/0.4864, allocations: 4.707 MB / 493.4 MB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009784/0.4874, allocations: 139 kB / 493.5 MB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.404e-05/0.4875, allocations: 58.23 kB / 493.6 MB, free: 21.68 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.000445/0.4879, allocations: 285 kB / 493.9 MB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.4881, allocations: 81 kB / 493.9 MB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.4909, allocations: 1.599 MB / 495.5 MB, free: 20.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.4909, allocations: 14.45 kB / 495.6 MB, free: 20.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4909, allocations: 7.938 kB / 495.6 MB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.491, allocations: 10.69 kB / 495.6 MB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/0.4958, allocations: 2.913 MB / 498.5 MB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.4958, allocations: 1.375 kB / 498.5 MB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.4965, allocations: 147.2 kB / 498.6 MB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.498, allocations: 0.5211 MB / 499.2 MB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.4981, allocations: 24.72 kB / 499.2 MB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007001/0.5051, allocations: 4.718 MB / 0.4921 GB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5051, allocations: 1.562 kB / 0.4921 GB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/0.51, allocations: 2.329 MB / 0.4944 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/0.5107, allocations: 290.1 kB / 0.4946 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.5108, allocations: 23 kB / 0.4947 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.5114, allocations: 56.22 kB / 0.4947 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.5118, allocations: 110.1 kB / 0.4948 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.5119, allocations: 32.03 kB / 0.4949 GB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000502/0.5124, allocations: 323.6 kB / 0.4952 GB, free: 14.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5124, allocations: 1.125 kB / 0.4952 GB, free: 14.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00195/0.5143, allocations: 423.5 kB / 0.4956 GB, free: 14.29 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.0002809/0.5146, allocations: 159.7 kB / 0.4957 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003868/0.5185, allocations: 1.886 MB / 0.4976 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5185, allocations: 1.031 kB / 0.4976 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.521, allocations: 1.25 MB / 0.4988 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.5219, allocations: 95.66 kB / 0.4989 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.5255, allocations: 2.702 MB / 0.5015 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.5262, allocations: 1.085 MB / 0.5026 GB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005673/0.5267, allocations: 116.8 kB / 0.5027 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.5269, allocations: 63.8 kB / 0.5027 GB, free: 10.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5269, allocations: 0 / 0.5027 GB, free: 10.25 MB / 382.1 MB Notification: Performance of Templates: time 0.02678/0.5537, allocations: 16.83 MB / 0.5192 GB, free: 13.69 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)