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.001697/0.001697, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.45/1.45, allocations: 222.9 MB / 239 MB, free: 4.746 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.001479/0.001479, allocations: 196.5 kB / 289.3 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03218/0.03218, allocations: 8.786 MB / 348.2 MB, free: 4.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 74.38 kB / 410.6 MB, free: 42.35 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1169, allocations: 51.57 MB / 462.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005399/0.1224, allocations: 3.837 MB / 466 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.1243, allocations: 0.9114 MB / 466.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.1246, allocations: 8 kB / 466.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1248, allocations: 71.45 kB / 467 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.1252, allocations: 131 kB / 467.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1255, allocations: 143.8 kB / 467.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.1261, allocations: 0.6463 MB / 467.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.1265, allocations: 276.9 kB / 468.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.1268, allocations: 255.1 kB / 468.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1271, allocations: 278.8 kB / 468.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.881e-05/0.1272, allocations: 68 kB / 468.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.1273, allocations: 68 kB / 468.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1274, allocations: 131.5 kB / 468.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.1278, allocations: 310.6 kB / 469.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006952/0.1285, allocations: 0.7244 MB / 470 MB, free: 6.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1285, allocations: 0 / 470 MB, free: 6.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1285, allocations: 0 / 470 MB, free: 6.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1285, allocations: 0 / 470 MB, free: 6.945 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.001378/0.1299, allocations: 0.8266 MB / 470.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.13, allocations: 16.03 kB / 470.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.1301, allocations: 60.22 kB / 470.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.1305, allocations: 371.5 kB / 471.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.1306, allocations: 37.69 kB / 471.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.1306, allocations: 52.38 kB / 471.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.1315, allocations: 0.515 MB / 471.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1315, allocations: 4 kB / 471.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.1316, allocations: 24 kB / 471.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1316, allocations: 12 kB / 471.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.1324, allocations: 387.8 kB / 472.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.1349, allocations: 1.902 MB / 474.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.1355, allocations: 320 kB / 474.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.136, allocations: 235.6 kB / 474.7 MB, free: 1.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1361, allocations: 4.281 kB / 474.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1361, allocations: 42.84 kB / 474.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.1361, allocations: 0 / 474.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.004461/0.1406, allocations: 1.723 MB / 476.5 MB, free: 140 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1406, allocations: 59.84 kB / 476.5 MB, free: 68 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.141, allocations: 295.3 kB / 476.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.141, allocations: 33.64 kB / 476.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1411, allocations: 272.2 kB / 477.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1412, allocations: 169.6 kB / 477.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.1414, allocations: 86.16 kB / 477.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1415, allocations: 346.8 kB / 477.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.1418, allocations: 149 kB / 477.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.1422, allocations: 238.6 kB / 478.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.1429, allocations: 405.2 kB / 478.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1429, allocations: 4 kB / 478.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001129/0.1441, allocations: 0.5598 MB / 479 MB, free: 13.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1441, allocations: 8 kB / 479 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1441, allocations: 0 / 479 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.1444, allocations: 97.61 kB / 479.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.1448, allocations: 111.9 kB / 479.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.1479, allocations: 3.601 MB / 482.8 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.1482, allocations: 23.92 kB / 482.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.1483, allocations: 16 kB / 482.9 MB, free: 9.301 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.0002543/0.1485, allocations: 189.6 kB / 483.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.1486, allocations: 35.62 kB / 483.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.713e-05/0.1487, allocations: 51.67 kB / 483.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1487, allocations: 8.062 kB / 483.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.1487, allocations: 4 kB / 483.2 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1488, allocations: 8.016 kB / 483.2 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.1505, allocations: 1.132 MB / 484.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1505, allocations: 0 / 484.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.1509, allocations: 79.89 kB / 484.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.1511, allocations: 97.62 kB / 484.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1512, allocations: 12 kB / 484.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.1542, allocations: 3.585 MB / 488.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1543, allocations: 8.094 kB / 488.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.1557, allocations: 0.7722 MB / 488.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.1559, allocations: 148.6 kB / 489 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.1559, allocations: 8 kB / 489 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.1562, allocations: 31.92 kB / 489 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1564, allocations: 27.95 kB / 489.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.1564, allocations: 24.05 kB / 489.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.1567, allocations: 202 kB / 489.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 0 / 489.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007301/0.1574, allocations: 120 kB / 489.4 MB, free: 2.371 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.0001504/0.1576, allocations: 111.9 kB / 489.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.1589, allocations: 0.6819 MB / 490.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1589, allocations: 0 / 490.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.1596, allocations: 493.6 kB / 490.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.1601, allocations: 54.69 kB / 490.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1621, allocations: 1.233 MB / 492 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1625, allocations: 0.8395 MB / 492.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.1627, allocations: 43.25 kB / 492.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.1628, allocations: 31.44 kB / 492.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1628, allocations: 0 / 492.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of Templates: time 0.008896/0.1717, allocations: 4.73 MB / 497.6 MB, free: 10.1 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile (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)