Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.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.00101/0.00101, allocations: 80.88 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.9377/0.9377, allocations: 177.2 MB / 200.3 MB, free: 5.344 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.001137/0.001137, allocations: 159.4 kB / 257 MB, free: 12.8 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.02484/0.02484, allocations: 6.658 MB / 266.9 MB, free: 3.039 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.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 285.7 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.6e-05, allocations: 2.312 kB / 285.7 MB, free: 300 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.1119/0.1119, allocations: 3.825 MB / 289.5 MB, free: 20.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1141, allocations: 1.006 MB / 290.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.1143, allocations: 13.12 kB / 290.5 MB, free: 19.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.1145, allocations: 86.91 kB / 290.6 MB, free: 19.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.1149, allocations: 163.4 kB / 290.8 MB, free: 19.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.1153, allocations: 186.4 kB / 290.9 MB, free: 19.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.116, allocations: 0.6664 MB / 291.6 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.1162, allocations: 202 kB / 291.8 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.1168, allocations: 394 kB / 292.2 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1171, allocations: 213.7 kB / 292.4 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.554e-05/0.1171, allocations: 67.12 kB / 292.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1173, allocations: 72.67 kB / 292.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.1173, allocations: 141.3 kB / 292.7 MB, free: 18.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1175, allocations: 214.3 kB / 292.9 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.118, allocations: 451.3 kB / 293.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.118, allocations: 3.094 kB / 293.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.118, allocations: 1.406 kB / 293.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.118, allocations: 0 / 293.3 MB, free: 18.26 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008359/0.1188, allocations: 0.7424 MB / 294.1 MB, free: 17.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1188, allocations: 10.05 kB / 294.1 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.1191, allocations: 90.08 kB / 294.2 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1193, allocations: 243.1 kB / 294.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.1194, allocations: 39.16 kB / 294.4 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.1194, allocations: 51.64 kB / 294.5 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.1199, allocations: 475.5 kB / 295 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1199, allocations: 192 / 295 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.12, allocations: 22.03 kB / 295 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.12, allocations: 16.53 kB / 295 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.1202, allocations: 135.5 kB / 295.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.1215, allocations: 1.328 MB / 296.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.1218, allocations: 196.9 kB / 296.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.122, allocations: 146.3 kB / 296.8 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.122, allocations: 5.875 kB / 296.8 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.122, allocations: 36.47 kB / 296.8 MB, free: 16.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.122, allocations: 1.156 kB / 296.8 MB, free: 16.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.002002/0.124, allocations: 1.151 MB / 298 MB, free: 15.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.7e-05/0.124, allocations: 56.09 kB / 298 MB, free: 15.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1242, allocations: 269.8 kB / 298.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1242, allocations: 34.48 kB / 298.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.1243, allocations: 255.8 kB / 298.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/0.1243, allocations: 169.1 kB / 298.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.1244, allocations: 92.09 kB / 298.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.1245, allocations: 343.5 kB / 299.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.1245, allocations: 50.7 kB / 299.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-05/0.1246, allocations: 134.2 kB / 299.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.1248, allocations: 229.4 kB / 299.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1248, allocations: 5.188 kB / 299.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003298/0.1251, allocations: 309 kB / 299.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1252, allocations: 6.875 kB / 299.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1252, allocations: 1.375 kB / 299.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.1253, allocations: 83.27 kB / 300 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.1256, allocations: 121.2 kB / 300.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.1267, allocations: 2.896 MB / 303 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1268, allocations: 22.11 kB / 303 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1268, allocations: 14.33 kB / 303 MB, free: 11.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.301e-05/0.1269, allocations: 142.3 kB / 303.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.127, allocations: 35 kB / 303.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.127, allocations: 51.19 kB / 303.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.127, allocations: 4.062 kB / 303.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.127, allocations: 6.531 kB / 303.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.127, allocations: 3.984 kB / 303.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.1276, allocations: 0.5677 MB / 303.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1276, allocations: 1.125 kB / 303.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.1279, allocations: 104 kB / 303.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.128, allocations: 87.17 kB / 304 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.128, allocations: 11.03 kB / 304 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009685/0.129, allocations: 2.886 MB / 306.9 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.129, allocations: 0 / 306.9 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.1294, allocations: 444.6 kB / 307.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.1294, allocations: 34.27 kB / 307.4 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1295, allocations: 11.67 kB / 307.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1296, allocations: 20.39 kB / 307.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.1296, allocations: 39.11 kB / 307.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1297, allocations: 14.03 kB / 307.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.973e-05/0.1297, allocations: 93.11 kB / 307.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1297, allocations: 0 / 307.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.1301, allocations: 118.8 kB / 307.7 MB, free: 7.691 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (transformer.converter1.i,transformer.eddyCurrent.Phi) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.679e-05/0.1301, allocations: 99.88 kB / 307.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.1305, allocations: 492 kB / 308.2 MB, free: 7.184 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1305, allocations: 4 kB / 308.3 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.1307, allocations: 406.7 kB / 308.6 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.1309, allocations: 55 kB / 308.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.132, allocations: 0.8899 MB / 309.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.871e-05/0.132, allocations: 126.2 kB / 309.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1321, allocations: 34.19 kB / 309.7 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1322, allocations: 123.3 kB / 309.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1322, allocations: 0 / 309.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of Templates: time 0.006618/0.1389, allocations: 5.177 MB / 315 MB, free: 440 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & ./HanserModelica_HanserModelica.Magnetic.TestTransformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7916944390162826]