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.0009203/0.0009203, allocations: 77.97 kB / 20.66 MB, free: 3.844 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 1.021/1.021, allocations: 177.2 MB / 201 MB, free: 5.715 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.001276/0.001276, allocations: 148.7 kB / 257.7 MB, free: 12.99 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.02981/0.02981, allocations: 6.66 MB / 320.9 MB, free: 26.35 MB / 266.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.343e-06/1.343e-06, allocations: 0 / 392.8 MB, free: 2.297 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.328e-05, allocations: 6.312 kB / 392.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004961/0.004985, allocations: 3.798 MB / 396.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.006828, allocations: 0.9736 MB / 397.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.007132, allocations: 8 kB / 397.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.007352, allocations: 95.02 kB / 397.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.007744, allocations: 166.5 kB / 397.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.008127, allocations: 179.6 kB / 398.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006812/0.008808, allocations: 0.6654 MB / 398.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.009133, allocations: 193.4 kB / 398.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.009642, allocations: 399.2 kB / 399.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.009953, allocations: 211.4 kB / 399.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.01004, allocations: 68 kB / 399.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.01016, allocations: 75.98 kB / 399.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.01025, allocations: 131.6 kB / 399.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.01045, allocations: 219.5 kB / 400 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.01099, allocations: 450.5 kB / 400.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01099, allocations: 0 / 400.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01099, allocations: 0 / 400.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.011, allocations: 0 / 400.4 MB, free: 10.66 MB / 330.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.0012/0.0122, allocations: 0.87 MB / 401.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.01224, allocations: 8.031 kB / 401.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.01247, allocations: 116.5 kB / 401.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.01289, allocations: 315.1 kB / 401.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.01294, allocations: 37.69 kB / 401.8 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.01301, allocations: 52.38 kB / 401.8 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006399/0.01365, allocations: 461.8 kB / 402.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.01367, allocations: 4.172 kB / 402.3 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.01371, allocations: 24.38 kB / 402.3 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.01373, allocations: 19.94 kB / 402.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.01404, allocations: 158.8 kB / 402.5 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.01619, allocations: 1.663 MB / 404.1 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.01659, allocations: 215.8 kB / 404.4 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.0169, allocations: 148.1 kB / 404.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.01692, allocations: 12.25 kB / 404.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.01696, allocations: 45.67 kB / 404.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.01696, allocations: 0 / 404.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.002582/0.01954, allocations: 1.089 MB / 405.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.01957, allocations: 55.91 kB / 405.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.01983, allocations: 322.1 kB / 406 MB, free: 4.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.01986, allocations: 33.7 kB / 406 MB, free: 4.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.02004, allocations: 331.5 kB / 406.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.02016, allocations: 162.6 kB / 406.5 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.0203, allocations: 99.75 kB / 406.6 MB, free: 4.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.02046, allocations: 0.5156 MB / 407.1 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.02059, allocations: 48.95 kB / 407.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.02078, allocations: 174.2 kB / 407.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.02112, allocations: 262.6 kB / 407.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.02113, allocations: 3.938 kB / 407.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006301/0.02176, allocations: 392.5 kB / 408 MB, free: 2.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.02177, allocations: 8 kB / 408 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.02178, allocations: 0 / 408 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.02204, allocations: 79.31 kB / 408.1 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.0224, allocations: 111.9 kB / 408.2 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1105/0.1329, allocations: 4.198 MB / 412.4 MB, free: 78.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.1331, allocations: 20.27 kB / 412.4 MB, free: 78.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1332, allocations: 14.59 kB / 412.4 MB, free: 78.09 MB / 330.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 0.0001402/0.1333, allocations: 182.2 kB / 412.6 MB, free: 77.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.1334, allocations: 58.25 kB / 412.7 MB, free: 77.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.1334, allocations: 48.64 kB / 412.7 MB, free: 77.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1334, allocations: 4.188 kB / 412.7 MB, free: 77.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1334, allocations: 6.594 kB / 412.7 MB, free: 77.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1334, allocations: 2.438 kB / 412.7 MB, free: 77.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.1342, allocations: 0.7546 MB / 413.5 MB, free: 77.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1342, allocations: 1.125 kB / 413.5 MB, free: 77.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.1344, allocations: 81.25 kB / 413.6 MB, free: 77.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.1346, allocations: 91.64 kB / 413.6 MB, free: 77.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1346, allocations: 12.89 kB / 413.7 MB, free: 77.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.1358, allocations: 4.204 MB / 417.9 MB, free: 73.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1358, allocations: 1.188 kB / 417.9 MB, free: 73.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.1363, allocations: 0.5471 MB / 418.4 MB, free: 73.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/0.1364, allocations: 68.05 kB / 418.5 MB, free: 73.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1364, allocations: 11.06 kB / 418.5 MB, free: 73.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1365, allocations: 24.27 kB / 418.5 MB, free: 73.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.1366, allocations: 40.38 kB / 418.6 MB, free: 73.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1366, allocations: 11.86 kB / 418.6 MB, free: 73.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.374e-05/0.1367, allocations: 214.8 kB / 418.8 MB, free: 73.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1367, allocations: 0 / 418.8 MB, free: 73.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.1371, allocations: 121.1 kB / 418.9 MB, free: 73.38 MB / 330.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.716e-05/0.1372, allocations: 106.4 kB / 419 MB, free: 73.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.1377, allocations: 0.6108 MB / 419.6 MB, free: 72.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1377, allocations: 2.875 kB / 419.6 MB, free: 72.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.138, allocations: 0.5151 MB / 420.1 MB, free: 72.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1382, allocations: 55.8 kB / 420.2 MB, free: 72.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1394, allocations: 0.9002 MB / 421.1 MB, free: 72.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.198e-05/0.1395, allocations: 123.5 kB / 421.2 MB, free: 72.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.1396, allocations: 40.2 kB / 421.2 MB, free: 72.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.1397, allocations: 141.7 kB / 421.4 MB, free: 72 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1397, allocations: 0 / 421.4 MB, free: 72 MB / 330.7 MB Notification: Performance of Templates: time 0.008296/0.148, allocations: 5.175 MB / 426.6 MB, free: 71.19 MB / 330.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 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0663597020320594]