Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.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.000897/0.000897, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.00093/0.00093, allocations: 168.8 kB / 24.91 MB, free: 9.156 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.8775/0.8775, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2635/0.2635, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.467e-05, allocations: 2.312 kB / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002763/0.002788, allocations: 2.577 MB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003791, allocations: 0.6665 MB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.003906, allocations: 7.938 kB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.004032, allocations: 39.58 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.004139, allocations: 83.27 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.004386, allocations: 83.77 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.004608, allocations: 302.6 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.004762, allocations: 62.73 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.005042, allocations: 175.6 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.005174, allocations: 91.7 kB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.005209, allocations: 28 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-05/0.005263, allocations: 24 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.005298, allocations: 59.75 kB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.005363, allocations: 92.38 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.005568, allocations: 203.3 kB / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005569, allocations: 0 / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00557, allocations: 0 / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.005574, allocations: 0 / 327.7 MB, free: 5.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.0005916/0.006166, allocations: 457.4 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.006196, allocations: 8.031 kB / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.006306, allocations: 44.89 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.006492, allocations: 170.6 kB / 328.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.006505, allocations: 12.88 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.006562, allocations: 24.38 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.006758, allocations: 234.4 kB / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.006768, allocations: 4.188 kB / 328.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.006788, allocations: 16.38 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.006798, allocations: 11.88 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.556e-05/0.006874, allocations: 51.47 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.007563, allocations: 0.5632 MB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.00768, allocations: 82.47 kB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.007713, allocations: 32.83 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.007726, allocations: 4 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.007744, allocations: 34.55 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.007746, allocations: 0 / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003488/0.008095, allocations: 135.3 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.008122, allocations: 51.41 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.008228, allocations: 199.1 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.008241, allocations: 25.7 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.008303, allocations: 168.1 kB / 329.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.008328, allocations: 43.62 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.008369, allocations: 37.69 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.008439, allocations: 326.8 kB / 330.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.008463, allocations: 15.98 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/0.008502, allocations: 52.27 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.008601, allocations: 104.2 kB / 330.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008604, allocations: 0 / 330.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000194/0.008798, allocations: 133.5 kB / 330.6 MB, free: 2.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.00881, allocations: 4 kB / 330.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.008815, allocations: 4.125 kB / 330.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.008932, allocations: 32.77 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.00903, allocations: 31.98 kB / 330.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007157/0.009745, allocations: 1.182 MB / 331.9 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.0098, allocations: 23.83 kB / 331.9 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.009807, allocations: 4 kB / 331.9 MB, free: 0.6406 MB / 298.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 0.0001038/0.009911, allocations: 129.7 kB / 332 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.009934, allocations: 15.98 kB / 332.1 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.009954, allocations: 21.45 kB / 332.1 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-06/0.009955, allocations: 0 / 332.1 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.009958, allocations: 4.062 kB / 332.1 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.009961, allocations: 0 / 332.1 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.01011, allocations: 129.8 kB / 332.2 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01011, allocations: 4 kB / 332.2 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.01015, allocations: 19.98 kB / 332.2 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.899e-05/0.01023, allocations: 28.81 kB / 332.3 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.01024, allocations: 7.938 kB / 332.3 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005295/0.01077, allocations: 1.166 MB / 333.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01077, allocations: 7.984 kB / 333.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01095, allocations: 219.3 kB / 333.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.01097, allocations: 15.84 kB / 333.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.01098, allocations: 8 kB / 333.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.01105, allocations: 16.14 kB / 333.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.01108, allocations: 15.92 kB / 333.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.01108, allocations: 0 / 333.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.01112, allocations: 56.55 kB / 333.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01112, allocations: 0 / 333.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.01133, allocations: 59.89 kB / 333.8 MB, free: 14.59 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 8.792e-05/0.01141, allocations: 80.36 kB / 333.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.01165, allocations: 205.4 kB / 334.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.01165, allocations: 4 kB / 334.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.01177, allocations: 155.4 kB / 334.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.01191, allocations: 23.98 kB / 334.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000821/0.01273, allocations: 461.6 kB / 334.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01278, allocations: 75.98 kB / 334.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.01282, allocations: 13.47 kB / 334.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.0129, allocations: 87.34 kB / 334.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0129, allocations: 0 / 334.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of Templates: time 0.003888/0.01679, allocations: 2.083 MB / 337 MB, free: 11.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.8140882230363786]