Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.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.0008335/0.0008335, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9691/0.9691, allocations: 177.2 MB / 200.3 MB, free: 4.82 MB / 186.7 MB " [Timeout remaining time 179] 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.001651/0.001651, allocations: 159.5 kB / 257 MB, free: 12.63 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03256/0.03256, allocations: 6.649 MB / 266.9 MB, free: 2.895 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 285.6 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.311e-05, allocations: 2.312 kB / 285.6 MB, free: 176 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.1016/0.1016, allocations: 3.972 MB / 289.6 MB, free: 20.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1036, allocations: 1.212 MB / 290.8 MB, free: 19.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.1039, allocations: 35.06 kB / 290.9 MB, free: 19.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1043, allocations: 172.8 kB / 291 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008428/0.1051, allocations: 302.5 kB / 291.3 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.1055, allocations: 191.1 kB / 291.5 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.1068, allocations: 1.66 MB / 293.2 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008141/0.1077, allocations: 0.8259 MB / 294 MB, free: 17.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.1089, allocations: 1.136 MB / 295.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.11, allocations: 0.9055 MB / 296 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.1103, allocations: 190.2 kB / 296.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.1106, allocations: 196.7 kB / 296.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.111, allocations: 0.5545 MB / 297 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006587/0.1116, allocations: 0.6083 MB / 297.6 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.1128, allocations: 1.506 MB / 299.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1128, allocations: 0.75 kB / 299.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1128, allocations: 0 / 299.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.858e-05/0.1128, allocations: 0.7812 kB / 299.1 MB, free: 15.45 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00179/0.1146, allocations: 1.741 MB / 300.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1146, allocations: 10.38 kB / 300.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.1151, allocations: 255.4 kB / 301.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007711/0.1158, allocations: 0.639 MB / 301.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.1159, allocations: 105.1 kB / 301.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.116, allocations: 144 kB / 302 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1171, allocations: 1.111 MB / 303.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.1171, allocations: 4.781 kB / 303.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.1172, allocations: 56 kB / 303.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1172, allocations: 33.52 kB / 303.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.1177, allocations: 394.7 kB / 303.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.1205, allocations: 2.742 MB / 306.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.1208, allocations: 428.1 kB / 306.7 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.1211, allocations: 253.4 kB / 307 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.1212, allocations: 16.12 kB / 307 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.1214, allocations: 393.9 kB / 307.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=74): time 3.136e-06/0.1214, allocations: 3.328 kB / 307.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=78): time 0.001409/0.1228, allocations: 1.08 MB / 308.4 MB, free: 7.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1229, allocations: 145.2 kB / 308.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1232, allocations: 0.5428 MB / 309.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.1232, allocations: 45.7 kB / 309.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.1234, allocations: 0.5334 MB / 309.7 MB, free: 5.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.1235, allocations: 273.7 kB / 310 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1236, allocations: 142.5 kB / 310.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.1236, allocations: 410.5 kB / 310.5 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.1237, allocations: 65.97 kB / 310.6 MB, free: 5.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1239, allocations: 343.2 kB / 310.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.1242, allocations: 400.3 kB / 311.3 MB, free: 4.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1242, allocations: 0 / 311.3 MB, free: 4.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004531/0.1246, allocations: 480.5 kB / 311.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1246, allocations: 4 kB / 311.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1246, allocations: 4 kB / 311.8 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.1248, allocations: 98.97 kB / 311.9 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.1251, allocations: 151.8 kB / 312 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.1261, allocations: 1.86 MB / 313.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.1264, allocations: 44.02 kB / 313.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1264, allocations: 20 kB / 314 MB, free: 1.473 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.1267, allocations: 171.5 kB / 314.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.1267, allocations: 83.92 kB / 314.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.043e-05/0.1268, allocations: 96.44 kB / 314.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1268, allocations: 8 kB / 314.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1268, allocations: 8 kB / 314.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1268, allocations: 7.922 kB / 314.3 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.1283, allocations: 1.36 MB / 315.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1283, allocations: 0 / 315.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.1285, allocations: 115.8 kB / 315.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.1287, allocations: 91.03 kB / 315.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.1288, allocations: 27.97 kB / 315.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.13, allocations: 1.998 MB / 317.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.13, allocations: 4 kB / 317.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.1307, allocations: 0.6556 MB / 318.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.1309, allocations: 107.4 kB / 318.7 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.131, allocations: 31.97 kB / 318.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.1312, allocations: 31.98 kB / 318.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.1313, allocations: 68.41 kB / 318.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1313, allocations: 12 kB / 318.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.1315, allocations: 260.6 kB / 319.1 MB, free: 12.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1315, allocations: 4 kB / 319.1 MB, free: 12.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006418/0.1322, allocations: 272 kB / 319.3 MB, free: 11.9 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001398/0.1323, allocations: 104.3 kB / 319.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006506/0.133, allocations: 0.5374 MB / 320 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.133, allocations: 8 kB / 320 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.1334, allocations: 403.8 kB / 320.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.1339, allocations: 216.6 kB / 320.6 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.1369, allocations: 2.326 MB / 322.9 MB, free: 8.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1371, allocations: 379.6 kB / 323.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.1374, allocations: 96.88 kB / 323.4 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.1378, allocations: 253.1 kB / 323.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1378, allocations: 0 / 323.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of Templates: time 0.01794/0.1557, allocations: 14.65 MB / 338.3 MB, free: 9.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.943413336761296]