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.0009879/0.0009879, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.434/1.434, allocations: 223.2 MB / 239 MB, free: 5.633 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.001168/0.001168, allocations: 189 kB / 290.2 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.03593/0.03593, allocations: 8.803 MB / 350.1 MB, free: 4.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005174, allocations: 9.969 kB / 413.1 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09329, allocations: 52.56 MB / 465.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.003485/0.09681, allocations: 3.063 MB / 468.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.09835, allocations: 0.9082 MB / 469.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.09858, allocations: 11.94 kB / 469.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.09869, allocations: 59.53 kB / 469.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.09911, allocations: 175.5 kB / 469.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.09941, allocations: 107.8 kB / 470 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.09989, allocations: 419.6 kB / 470.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.1002, allocations: 208.5 kB / 470.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.1005, allocations: 203.3 kB / 470.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.1008, allocations: 223 kB / 471 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.1008, allocations: 32 kB / 471 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.1009, allocations: 28 kB / 471.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.101, allocations: 91.61 kB / 471.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1011, allocations: 121.5 kB / 471.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.1016, allocations: 0.5492 MB / 471.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1016, allocations: 0 / 471.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1016, allocations: 4 kB / 471.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1017, allocations: 0 / 471.8 MB, free: 7.418 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.001322/0.103, allocations: 0.7524 MB / 472.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.103, allocations: 8.031 kB / 472.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1032, allocations: 59.3 kB / 472.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.1036, allocations: 366.4 kB / 473 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.1037, allocations: 45.25 kB / 473 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.1038, allocations: 48 kB / 473.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008859/0.1047, allocations: 0.5108 MB / 473.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1047, allocations: 4 kB / 473.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.1047, allocations: 20 kB / 473.6 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1048, allocations: 12 kB / 473.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.1055, allocations: 411.7 kB / 474 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.1082, allocations: 1.906 MB / 475.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.1089, allocations: 309.5 kB / 476.2 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1089, allocations: 12.2 kB / 476.3 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.109, allocations: 42.8 kB / 476.3 MB, free: 2.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/0.109, allocations: 3.938 kB / 476.3 MB, free: 2.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.004883/0.1139, allocations: 1.797 MB / 478.1 MB, free: 0.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.1139, allocations: 63.73 kB / 478.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.1143, allocations: 303.2 kB / 478.5 MB, free: 468 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.1144, allocations: 33.7 kB / 478.5 MB, free: 428 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.1146, allocations: 272.2 kB / 478.8 MB, free: 148 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.1148, allocations: 161.8 kB / 478.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.1148, allocations: 4 kB / 478.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1149, allocations: 346.8 kB / 479.3 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.1153, allocations: 157 kB / 479.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.1157, allocations: 246.5 kB / 479.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.116, allocations: 184.8 kB / 479.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1161, allocations: 0 / 479.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001052/0.1171, allocations: 0.5674 MB / 480.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1172, allocations: 8 kB / 480.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1172, allocations: 0 / 480.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.1175, allocations: 93.62 kB / 480.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.1179, allocations: 119.9 kB / 480.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.1207, allocations: 3.252 MB / 483.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.1211, allocations: 27.98 kB / 483.9 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.1211, allocations: 19.95 kB / 483.9 MB, free: 10.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002613/0.1214, allocations: 189.8 kB / 484.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.1215, allocations: 35.53 kB / 484.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-05/0.1216, allocations: 51.73 kB / 484.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1216, allocations: 4 kB / 484.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.1216, allocations: 4 kB / 484.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1216, allocations: 3.984 kB / 484.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.1222, allocations: 0.5367 MB / 484.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1223, allocations: 3.984 kB / 484.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.1227, allocations: 83.89 kB / 484.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.1229, allocations: 93.66 kB / 484.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.1229, allocations: 15.94 kB / 484.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.1255, allocations: 3.255 MB / 488.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1255, allocations: 0 / 488.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.1269, allocations: 0.7849 MB / 489 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.127, allocations: 148.6 kB / 489.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.1271, allocations: 8 kB / 489.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.1274, allocations: 35.97 kB / 489.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.1275, allocations: 32.45 kB / 489.2 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.1275, allocations: 16 kB / 489.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.1277, allocations: 201.9 kB / 489.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1277, allocations: 0 / 489.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006447/0.1284, allocations: 120 kB / 489.5 MB, free: 4.672 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.1285, allocations: 115.1 kB / 489.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.1298, allocations: 0.6821 MB / 490.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1298, allocations: 0 / 490.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.1304, allocations: 491.7 kB / 490.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1308, allocations: 44.88 kB / 490.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1325, allocations: 1.266 MB / 492.1 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1329, allocations: 0.8512 MB / 492.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.133, allocations: 39.28 kB / 493 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.1331, allocations: 31.42 kB / 493 MB, free: 1.059 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1331, allocations: 0 / 493 MB, free: 1.059 MB / 318.1 MB Notification: Performance of Templates: time 0.008425/0.1416, allocations: 4.316 MB / 497.3 MB, free: 12.79 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: