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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007475/0.0007475, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 239.4 MB, free: 5.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001547, allocations: 176.5 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03464/0.03464, allocations: 8.792 MB / 350.5 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003869, allocations: 10.83 kB / 413.8 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1069, allocations: 52.56 MB / 466.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004696/0.1117, allocations: 3.44 MB / 469.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1136, allocations: 0.8998 MB / 470.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.1142, allocations: 11.94 kB / 470.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1145, allocations: 59.53 kB / 470.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007202/0.1152, allocations: 135 kB / 470.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.1157, allocations: 143.8 kB / 471.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1168, allocations: 0.6034 MB / 471.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005796/0.1174, allocations: 240 kB / 471.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.1178, allocations: 211.1 kB / 472.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.1183, allocations: 230.9 kB / 472.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.1184, allocations: 32 kB / 472.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1186, allocations: 32 kB / 472.4 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1187, allocations: 91.55 kB / 472.5 MB, free: 7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.1191, allocations: 288.3 kB / 472.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.1197, allocations: 0.6693 MB / 473.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1197, allocations: 0 / 473.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1198, allocations: 0 / 473.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.137e-05/0.1198, allocations: 0 / 473.4 MB, free: 6.039 MB / 302.1 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.00149/0.1213, allocations: 0.7526 MB / 474.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1213, allocations: 8.031 kB / 474.2 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.1216, allocations: 56.28 kB / 474.2 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.1222, allocations: 371.5 kB / 474.6 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.1223, allocations: 41.69 kB / 474.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.1224, allocations: 48.38 kB / 474.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1234, allocations: 0.5267 MB / 475.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1235, allocations: 0 / 475.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.1235, allocations: 20 kB / 475.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1235, allocations: 16 kB / 475.3 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.1245, allocations: 407.7 kB / 475.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.1277, allocations: 1.918 MB / 477.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.1284, allocations: 318 kB / 477.9 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.1289, allocations: 241.1 kB / 478.1 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.129, allocations: 4.281 kB / 478.1 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.129, allocations: 38.83 kB / 478.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.129, allocations: 0 / 478.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.004998/0.134, allocations: 1.796 MB / 480 MB, free: 15.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1341, allocations: 63.78 kB / 480 MB, free: 15.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.1345, allocations: 295.2 kB / 480.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.1345, allocations: 37.7 kB / 480.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.1347, allocations: 272.2 kB / 480.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1349, allocations: 161.6 kB / 480.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.135, allocations: 41.7 kB / 480.8 MB, free: 14.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1351, allocations: 346.8 kB / 481.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.1356, allocations: 161 kB / 481.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.136, allocations: 246.5 kB / 481.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008346/0.1368, allocations: 425.1 kB / 482 MB, free: 13.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1369, allocations: 0 / 482 MB, free: 13.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001221/0.1381, allocations: 0.5714 MB / 482.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1381, allocations: 8 kB / 482.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1381, allocations: 0 / 482.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/0.1385, allocations: 97.61 kB / 482.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.139, allocations: 115.9 kB / 482.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.1422, allocations: 3.238 MB / 486 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.1426, allocations: 23.98 kB / 486 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.1426, allocations: 16 kB / 486 MB, free: 8.73 MB / 318.1 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.0003229/0.143, allocations: 181.7 kB / 486.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1431, allocations: 43.62 kB / 486.2 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.1432, allocations: 47.73 kB / 486.3 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1432, allocations: 7.938 kB / 486.3 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.1432, allocations: 4 kB / 486.3 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1432, allocations: 0 / 486.3 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.1451, allocations: 1.148 MB / 487.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1451, allocations: 0 / 487.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.1456, allocations: 91.91 kB / 487.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.1458, allocations: 89.67 kB / 487.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.1459, allocations: 11.98 kB / 487.6 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002729/0.1486, allocations: 3.235 MB / 490.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1486, allocations: 3.938 kB / 490.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.1501, allocations: 0.788 MB / 491.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.1503, allocations: 140.7 kB / 491.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.1504, allocations: 15.92 kB / 491.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.1507, allocations: 28.05 kB / 491.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.1508, allocations: 35.95 kB / 491.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.1508, allocations: 20.23 kB / 491.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.1511, allocations: 206 kB / 492.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1511, allocations: 0 / 492.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007462/0.1518, allocations: 120 kB / 492.2 MB, free: 2.141 MB / 318.1 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 0.0001717/0.152, allocations: 108.8 kB / 492.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.1534, allocations: 0.6782 MB / 493 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1534, allocations: 0 / 493 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.1543, allocations: 0.4898 MB / 493.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006609/0.155, allocations: 48.58 kB / 493.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1572, allocations: 1.308 MB / 494.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.1577, allocations: 0.8434 MB / 495.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.1579, allocations: 35.28 kB / 495.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.158, allocations: 31.42 kB / 495.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.158, allocations: 0 / 495.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of Templates: time 0.01017/0.1682, allocations: 4.474 MB / 0.4885 GB, free: 10.05 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) Environment - environmentSimulation: