Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9447/0.9447, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.242/0.242, allocations: 34.26 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.104e-05, allocations: 7.078 kB / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003225/0.003246, allocations: 2.569 MB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004453, allocations: 0.675 MB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.004572, allocations: 4 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.004697, allocations: 39.58 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.004816, allocations: 79.28 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.005042, allocations: 83.77 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.005273, allocations: 306.5 kB / 329 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005388, allocations: 70.67 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.00557, allocations: 159.7 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005671, allocations: 95.75 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.005698, allocations: 24 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.005748, allocations: 27.98 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.00578, allocations: 63.77 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.00584, allocations: 88.31 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.006026, allocations: 203.2 kB / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.006028, allocations: 4 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006028, allocations: 0 / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.006031, allocations: 0 / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0004268/0.006458, allocations: 457.5 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.006486, allocations: 12.03 kB / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.006586, allocations: 44.91 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.006747, allocations: 170.4 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.00676, allocations: 16.88 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.006787, allocations: 20.38 kB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.006964, allocations: 230.4 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.006971, allocations: 4.125 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.006984, allocations: 8.375 kB / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006992, allocations: 15.94 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/0.007063, allocations: 51.47 kB / 330.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.007662, allocations: 0.567 MB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.007766, allocations: 86.2 kB / 331.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.007797, allocations: 24.84 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.007809, allocations: 0 / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.007827, allocations: 38.56 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 8.31e-07/0.007828, allocations: 224 / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002783/0.008106, allocations: 130.3 kB / 331.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.008126, allocations: 59.41 kB / 331.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.008222, allocations: 198.8 kB / 331.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.008236, allocations: 29.7 kB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.008288, allocations: 156.2 kB / 332 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.00831, allocations: 47.62 kB / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.008349, allocations: 37.69 kB / 332 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.008416, allocations: 326.8 kB / 332.4 MB, free: 360 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.008438, allocations: 15.98 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.008479, allocations: 62.02 kB / 332.4 MB, free: 272 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.656e-05/0.008576, allocations: 102.8 kB / 332.5 MB, free: 156 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008578, allocations: 4 kB / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001339/0.008711, allocations: 134 kB / 332.7 MB, free: 12 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.008722, allocations: 4 kB / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008726, allocations: 4 kB / 332.7 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.008841, allocations: 32.89 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.008921, allocations: 39.92 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005502/0.009472, allocations: 1.166 MB / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.009529, allocations: 23.97 kB / 333.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.009537, allocations: 8 kB / 333.9 MB, free: 14.64 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: basicTransformer.i2:VARIABLE(start = 0.0 unit = \"A\" fixed = true ) \"Current flowing from pos. to neg. pin of port 2\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.672e-05/0.009634, allocations: 133.6 kB / 334.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.009656, allocations: 11.98 kB / 334.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.009676, allocations: 25.45 kB / 334.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009678, allocations: 4 kB / 334.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.00968, allocations: 0 / 334.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.009683, allocations: 0 / 334.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.009802, allocations: 129.8 kB / 334.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009804, allocations: 0 / 334.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.009843, allocations: 19.98 kB / 334.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.409e-05/0.009917, allocations: 24.83 kB / 334.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.009924, allocations: 4 kB / 334.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005417/0.01047, allocations: 1.174 MB / 335.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01047, allocations: 0 / 335.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.01063, allocations: 216.2 kB / 335.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.01064, allocations: 19.78 kB / 335.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.01066, allocations: 0 / 335.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.01073, allocations: 20.11 kB / 335.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.01075, allocations: 11.92 kB / 335.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01075, allocations: 4 kB / 335.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.116e-05/0.0108, allocations: 61.78 kB / 335.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0108, allocations: 0 / 335.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.01097, allocations: 59.89 kB / 335.9 MB, free: 12.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.547e-05/0.01103, allocations: 80.36 kB / 335.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.01125, allocations: 202.7 kB / 336.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.01125, allocations: 0 / 336.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.01137, allocations: 155.4 kB / 336.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.01151, allocations: 24 kB / 336.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.01218, allocations: 466.6 kB / 336.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.01222, allocations: 75.98 kB / 336.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.584e-05/0.01227, allocations: 13.48 kB / 336.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.01234, allocations: 83.3 kB / 336.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01234, allocations: 0 / 336.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of Templates: time 0.003719/0.01606, allocations: 2.087 MB / 339 MB, free: 9.391 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7561584189534187]