Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009333/0.0009333, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009873/0.0009873, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8815/0.8815, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1256/0.1256, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 299 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.391e-05, allocations: 2.312 kB / 299 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.1397/0.1397, allocations: 2.507 MB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1408, allocations: 0.6378 MB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.141, allocations: 3.969 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.1411, allocations: 39.28 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1412, allocations: 79.73 kB / 302.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1415, allocations: 70.5 kB / 302.4 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1417, allocations: 301.2 kB / 302.7 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1419, allocations: 65.25 kB / 302.7 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.1421, allocations: 169.4 kB / 302.9 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1422, allocations: 92.02 kB / 303 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.1422, allocations: 23.25 kB / 303 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.1423, allocations: 24.16 kB / 303 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.1423, allocations: 53.28 kB / 303.1 MB, free: 19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.191e-05/0.1424, allocations: 92.36 kB / 303.2 MB, free: 18.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1426, allocations: 192 kB / 303.4 MB, free: 18.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1426, allocations: 5.781 kB / 303.4 MB, free: 18.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1426, allocations: 0.5625 kB / 303.4 MB, free: 18.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1426, allocations: 0 / 303.4 MB, free: 18.96 MB / 282.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.0004372/0.143, allocations: 455.4 kB / 303.8 MB, free: 18.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.143, allocations: 9.531 kB / 303.8 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.1431, allocations: 34.58 kB / 303.8 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1433, allocations: 168.3 kB / 304 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1433, allocations: 14.12 kB / 304 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1433, allocations: 26.59 kB / 304.1 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1435, allocations: 230.7 kB / 304.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1435, allocations: 2.094 kB / 304.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1435, allocations: 6.844 kB / 304.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.1435, allocations: 12.34 kB / 304.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.1436, allocations: 52.11 kB / 304.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.1442, allocations: 0.5734 MB / 304.9 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1443, allocations: 81.7 kB / 305 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.1443, allocations: 29.27 kB / 305 MB, free: 17.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1444, allocations: 1.375 kB / 305 MB, free: 17.85 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.1444, allocations: 33 kB / 305.1 MB, free: 17.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1444, allocations: 0 / 305.1 MB, free: 17.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002993/0.1447, allocations: 134.4 kB / 305.2 MB, free: 17.76 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.505e-05/0.1447, allocations: 53.58 kB / 305.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.1448, allocations: 187.9 kB / 305.4 MB, free: 17.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.1448, allocations: 26.86 kB / 305.5 MB, free: 17.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.1448, allocations: 164.1 kB / 305.6 MB, free: 17.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1449, allocations: 49.94 kB / 305.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1449, allocations: 39.83 kB / 305.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.1449, allocations: 330.5 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.145, allocations: 13.67 kB / 306 MB, free: 17.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.145, allocations: 50.61 kB / 306.1 MB, free: 17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1451, allocations: 107.7 kB / 306.2 MB, free: 16.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1451, allocations: 0 / 306.2 MB, free: 16.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001674/0.1453, allocations: 137.1 kB / 306.3 MB, free: 16.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1453, allocations: 5.219 kB / 306.3 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1453, allocations: 2.406 kB / 306.3 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.1454, allocations: 25.31 kB / 306.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.1455, allocations: 30.81 kB / 306.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004587/0.146, allocations: 1.173 MB / 307.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.146, allocations: 16.8 kB / 307.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.146, allocations: 4.234 kB / 307.6 MB, free: 15.71 MB / 282.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.0001032/0.1461, allocations: 133.9 kB / 307.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1462, allocations: 16.89 kB / 307.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.1462, allocations: 19.8 kB / 307.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1462, allocations: 1.859 kB / 307.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1462, allocations: 1.094 kB / 307.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1462, allocations: 1.266 kB / 307.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1463, allocations: 132.2 kB / 307.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1463, allocations: 1.859 kB / 307.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.1464, allocations: 21.72 kB / 307.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.574e-05/0.1465, allocations: 34.17 kB / 307.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1465, allocations: 1.828 kB / 307.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003866/0.1468, allocations: 1.176 MB / 309.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1468, allocations: 5.375 kB / 309.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.147, allocations: 221.4 kB / 309.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.147, allocations: 16.75 kB / 309.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.147, allocations: 1.781 kB / 309.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.1471, allocations: 14.89 kB / 309.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1471, allocations: 16.41 kB / 309.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1471, allocations: 3.797 kB / 309.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.1472, allocations: 59.64 kB / 309.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1472, allocations: 4.031 kB / 309.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001733/0.1474, allocations: 58.08 kB / 309.5 MB, free: 14.05 MB / 282.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.935e-05/0.1474, allocations: 81.27 kB / 309.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1477, allocations: 193.9 kB / 309.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1477, allocations: 2.812 kB / 309.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1478, allocations: 162.2 kB / 309.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1479, allocations: 25.42 kB / 310 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.1486, allocations: 457.1 kB / 310.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.963e-05/0.1486, allocations: 81.41 kB / 310.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.483e-05/0.1487, allocations: 18 kB / 310.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.1488, allocations: 77.36 kB / 310.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1488, allocations: 0 / 310.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of Templates: time 0.00481/0.1536, allocations: 2.085 MB / 312.7 MB, free: 13.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.971585299819708]