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.0009424/0.0009424, allocations: 88.19 kB / 15.7 MB, free: 460 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.001948/0.001949, allocations: 174.7 kB / 16.58 MB, free: 6.84 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.159/2.159, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.4415/0.4415, allocations: 43.58 MB / 314.6 MB, free: 8.934 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.0005053/0.0005053, allocations: 15.19 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1414, allocations: 58.88 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007336/0.1488, allocations: 6.652 MB / 449.5 MB, free: 6.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00472/0.1535, allocations: 2.163 MB / 451.6 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006755/0.1542, allocations: 27.94 kB / 451.7 MB, free: 4.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.155, allocations: 266.5 kB / 451.9 MB, free: 4.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.1568, allocations: 0.7504 MB / 452.7 MB, free: 3.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.1586, allocations: 0.7367 MB / 453.4 MB, free: 2.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.1603, allocations: 1.304 MB / 454.7 MB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2875/0.4478, allocations: 1.515 MB / 456.2 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.4488, allocations: 0.5094 MB / 456.7 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005646/0.4494, allocations: 0.6404 MB / 457.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-05/0.4495, allocations: 58.5 kB / 457.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.4502, allocations: 256.6 kB / 457.7 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.4504, allocations: 234.5 kB / 457.9 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.4506, allocations: 246.1 kB / 458.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.452, allocations: 1.321 MB / 459.5 MB, free: 36.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.452, allocations: 0.8125 kB / 459.5 MB, free: 36.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.452, allocations: 0 / 459.5 MB, free: 36.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.452, allocations: 3.562 kB / 459.5 MB, free: 36.64 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.00582/0.4579, allocations: 2.164 MB / 461.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4579, allocations: 12.83 kB / 461.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009349/0.4673, allocations: 1.504 MB / 463.2 MB, free: 35.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000947/0.4682, allocations: 0.605 MB / 463.8 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.4683, allocations: 102.8 kB / 463.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.4685, allocations: 135.8 kB / 464 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.4709, allocations: 1.526 MB / 465.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.471, allocations: 3.031 kB / 465.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.4711, allocations: 61.44 kB / 465.6 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.4711, allocations: 31.38 kB / 465.6 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.4734, allocations: 1.587 MB / 467.2 MB, free: 35.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006184/0.4796, allocations: 5.584 MB / 472.8 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.4815, allocations: 2.367 MB / 475.2 MB, free: 31.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008395/0.4823, allocations: 0.6726 MB / 475.8 MB, free: 31.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.4825, allocations: 111.1 kB / 475.9 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4825, allocations: 48.16 kB / 476 MB, free: 31.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 2.504e-06/0.4825, allocations: 0 / 476 MB, free: 31.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.007594/0.4901, allocations: 3.128 MB / 479.1 MB, free: 31.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.4902, allocations: 90.92 kB / 479.2 MB, free: 31.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/0.4908, allocations: 481.7 kB / 479.7 MB, free: 31.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.4909, allocations: 43.14 kB / 479.7 MB, free: 31.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.4911, allocations: 484.4 kB / 480.2 MB, free: 30.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.4914, allocations: 430 kB / 480.6 MB, free: 30.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.4915, allocations: 28.44 kB / 480.6 MB, free: 30.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4916, allocations: 381.8 kB / 481 MB, free: 30.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007597/0.4924, allocations: 472.1 kB / 481.5 MB, free: 30 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009339/0.4933, allocations: 0.7469 MB / 482.2 MB, free: 29.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.4943, allocations: 0.5377 MB / 482.8 MB, free: 29.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.4943, allocations: 0 / 482.8 MB, free: 29.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002572/0.4969, allocations: 1.649 MB / 484.4 MB, free: 28.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4969, allocations: 11.94 kB / 484.4 MB, free: 28.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.4969, allocations: 6.125 kB / 484.4 MB, free: 28.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.4984, allocations: 0.5302 MB / 485 MB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.4992, allocations: 214.5 kB / 485.2 MB, free: 28.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008152/0.5073, allocations: 4.697 MB / 489.9 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.5088, allocations: 140.2 kB / 490 MB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/0.5092, allocations: 51.17 kB / 490 MB, free: 25.27 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 (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 initialization (120): * Single equations (assignments): 119 * 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: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.5103, allocations: 278.3 kB / 490.3 MB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/0.5107, allocations: 83.94 kB / 490.4 MB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/0.5152, allocations: 1.599 MB / 492 MB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/0.5152, allocations: 12.72 kB / 492 MB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.5152, allocations: 1.094 kB / 492 MB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/0.5153, allocations: 7.984 kB / 492 MB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/0.522, allocations: 2.905 MB / 494.9 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.5221, allocations: 1.75 kB / 494.9 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/0.5227, allocations: 147.8 kB / 495.1 MB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.5242, allocations: 0.5195 MB / 495.6 MB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.5243, allocations: 28.84 kB / 495.6 MB, free: 22.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007459/0.5318, allocations: 4.693 MB / 0.4886 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5318, allocations: 3 kB / 0.4886 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003944/0.5358, allocations: 2.321 MB / 0.4909 GB, free: 18.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.5363, allocations: 287.3 kB / 0.4911 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.5365, allocations: 25.25 kB / 0.4912 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.5372, allocations: 52.38 kB / 0.4912 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.5374, allocations: 101.1 kB / 0.4913 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.5375, allocations: 38.23 kB / 0.4913 GB, free: 18.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004507/0.538, allocations: 315 kB / 0.4916 GB, free: 18.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.538, allocations: 1.25 kB / 0.4916 GB, free: 18.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001781/0.5398, allocations: 420.6 kB / 0.492 GB, free: 17.91 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 (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: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003383/0.5401, allocations: 171.5 kB / 0.4922 GB, free: 17.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003809/0.544, allocations: 1.876 MB / 0.494 GB, free: 16.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.544, allocations: 0 / 0.494 GB, free: 16.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.5463, allocations: 1.239 MB / 0.4952 GB, free: 16.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/0.5472, allocations: 99.39 kB / 0.4953 GB, free: 16.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.5518, allocations: 2.603 MB / 0.4979 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008442/0.5526, allocations: 1.086 MB / 0.4989 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006389/0.5533, allocations: 112.9 kB / 0.4991 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.5535, allocations: 66.09 kB / 0.4991 GB, free: 13.97 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5535, allocations: 2.625 kB / 0.4991 GB, free: 13.97 MB / 382.1 MB Notification: Performance of Templates: time 0.02472/0.5782, allocations: 16.35 MB / 0.5151 GB, free: 3.344 MB / 382.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)