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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 239.2 MB, free: 4.613 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.001909/0.00191, allocations: 188.5 kB / 289.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03353/0.03353, allocations: 8.79 MB / 348.5 MB, free: 4.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001656, allocations: 79.64 kB / 411.1 MB, free: 42.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1095, allocations: 51.57 MB / 462.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.00592/0.1155, allocations: 3.807 MB / 466.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1177, allocations: 0.9269 MB / 467.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.1182, allocations: 12 kB / 467.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.1186, allocations: 87.09 kB / 467.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006118/0.1192, allocations: 154.6 kB / 467.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.1197, allocations: 167.7 kB / 467.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008571/0.1205, allocations: 0.6385 MB / 468.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.121, allocations: 284.9 kB / 468.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.1214, allocations: 251.1 kB / 468.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.122, allocations: 274.8 kB / 469.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.1222, allocations: 68 kB / 469.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1224, allocations: 68 kB / 469.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1225, allocations: 135.6 kB / 469.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.1229, allocations: 314.5 kB / 469.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.1236, allocations: 0.7167 MB / 470.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1236, allocations: 0 / 470.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1236, allocations: 0 / 470.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1236, allocations: 0 / 470.5 MB, free: 6.609 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.001405/0.1251, allocations: 0.8305 MB / 471.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1251, allocations: 8.031 kB / 471.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1252, allocations: 60.28 kB / 471.4 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.1257, allocations: 367.5 kB / 471.8 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.1257, allocations: 37.69 kB / 471.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.1258, allocations: 48.38 kB / 471.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.1267, allocations: 0.5305 MB / 472.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1267, allocations: 0 / 472.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.347e-05/0.1268, allocations: 20 kB / 472.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1268, allocations: 12 kB / 472.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.1276, allocations: 395.8 kB / 472.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.1303, allocations: 1.902 MB / 474.7 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.131, allocations: 317.8 kB / 475 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.1316, allocations: 241.2 kB / 475.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1316, allocations: 8.219 kB / 475.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1316, allocations: 38.84 kB / 475.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.1316, allocations: 0 / 475.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.004606/0.1363, allocations: 1.72 MB / 477 MB, free: 15.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1363, allocations: 59.84 kB / 477.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.1366, allocations: 291.3 kB / 477.3 MB, free: 15.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.1367, allocations: 37.7 kB / 477.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1368, allocations: 268.2 kB / 477.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.137, allocations: 161.6 kB / 477.8 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.1371, allocations: 98.09 kB / 477.9 MB, free: 14.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1372, allocations: 346.8 kB / 478.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.1376, allocations: 149.1 kB / 478.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.138, allocations: 242.5 kB / 478.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.1388, allocations: 413.2 kB / 479 MB, free: 13.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1388, allocations: 0 / 479 MB, free: 13.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001083/0.1399, allocations: 0.552 MB / 479.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1399, allocations: 11.92 kB / 479.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1399, allocations: 4 kB / 479.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.1402, allocations: 101.7 kB / 479.7 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.1407, allocations: 103.9 kB / 479.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.1437, allocations: 3.597 MB / 483.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.144, allocations: 16.03 kB / 483.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.144, allocations: 23.98 kB / 483.4 MB, free: 8.965 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.0002336/0.1443, allocations: 189.7 kB / 483.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.1443, allocations: 35.62 kB / 483.6 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.1444, allocations: 51.73 kB / 483.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1445, allocations: 4 kB / 483.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.1445, allocations: 0 / 483.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1445, allocations: 3.984 kB / 483.7 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.1462, allocations: 1.132 MB / 484.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1462, allocations: 0 / 484.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.1466, allocations: 79.89 kB / 484.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.1468, allocations: 105.8 kB / 485 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1469, allocations: 12 kB / 485 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/0.1497, allocations: 3.597 MB / 488.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1498, allocations: 0 / 488.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.1511, allocations: 0.7723 MB / 489.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.1513, allocations: 144.6 kB / 489.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.1514, allocations: 12 kB / 489.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.1517, allocations: 27.98 kB / 489.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1518, allocations: 39.89 kB / 489.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.1518, allocations: 15.98 kB / 489.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.152, allocations: 206 kB / 489.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.152, allocations: 0 / 489.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006116/0.1527, allocations: 120 kB / 489.9 MB, free: 2.031 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.0001516/0.1528, allocations: 112.3 kB / 490.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.1541, allocations: 0.6822 MB / 490.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1542, allocations: 0 / 490.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.1549, allocations: 481 kB / 491.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.1555, allocations: 67.12 kB / 491.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.1576, allocations: 1.019 MB / 492.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.1581, allocations: 0.8395 MB / 493.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.1583, allocations: 47.25 kB / 493.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.1584, allocations: 31.44 kB / 493.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1584, allocations: 0 / 493.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Templates: time 0.009675/0.1681, allocations: 4.747 MB / 498 MB, free: 9.953 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)