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.001144/0.001144, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.338/1.338, allocations: 222.9 MB / 240.1 MB, free: 4.371 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.001427/0.001427, allocations: 196.4 kB / 290.4 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03341/0.03341, allocations: 8.797 MB / 349.3 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 79.86 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 51.56 MB / 0.504 GB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005673/0.1152, allocations: 3.82 MB / 0.5078 GB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1176, allocations: 0.9153 MB / 0.5087 GB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007061/0.1183, allocations: 11.94 kB / 0.5087 GB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1187, allocations: 87.14 kB / 0.5088 GB, free: 4.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006475/0.1194, allocations: 146.6 kB / 0.5089 GB, free: 4.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1199, allocations: 183.7 kB / 0.5091 GB, free: 4.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.1206, allocations: 0.6463 MB / 0.5097 GB, free: 3.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.121, allocations: 272.9 kB / 0.51 GB, free: 3.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.1213, allocations: 255.1 kB / 0.5102 GB, free: 3.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.1217, allocations: 278.8 kB / 0.5105 GB, free: 2.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.898e-05/0.1218, allocations: 68 kB / 0.5105 GB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.935e-05/0.1219, allocations: 68 kB / 0.5106 GB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.122, allocations: 139.5 kB / 0.5107 GB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.1223, allocations: 298.7 kB / 0.511 GB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.1231, allocations: 0.7359 MB / 0.5117 GB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1231, allocations: 0 / 0.5117 GB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1231, allocations: 4 kB / 0.5117 GB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1231, allocations: 0 / 0.5117 GB, free: 1.527 MB / 350.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.001478/0.1246, allocations: 0.8329 MB / 0.5126 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1246, allocations: 8.031 kB / 0.5126 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.1247, allocations: 60.28 kB / 0.5126 GB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.1253, allocations: 367.5 kB / 0.513 GB, free: 184 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.1254, allocations: 41.69 kB / 0.513 GB, free: 144 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.1255, allocations: 48.38 kB / 0.5131 GB, free: 96 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.1264, allocations: 0.5266 MB / 0.5136 GB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1264, allocations: 3.938 kB / 0.5136 GB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.1265, allocations: 24 kB / 0.5136 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.1265, allocations: 15.94 kB / 0.5136 GB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.1273, allocations: 379.8 kB / 0.514 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.13, allocations: 1.887 MB / 0.5158 GB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.1308, allocations: 315.4 kB / 0.5161 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.1313, allocations: 229.3 kB / 0.5163 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.1313, allocations: 4.281 kB / 0.5163 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1314, allocations: 38.84 kB / 0.5164 GB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 4.338e-06/0.1314, allocations: 3.984 kB / 0.5164 GB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.004652/0.1361, allocations: 1.733 MB / 0.5181 GB, free: 10.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1361, allocations: 55.84 kB / 0.5181 GB, free: 10.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.1364, allocations: 295.3 kB / 0.5184 GB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1365, allocations: 33.7 kB / 0.5184 GB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.1367, allocations: 272.2 kB / 0.5187 GB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.1369, allocations: 161.6 kB / 0.5189 GB, free: 9.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.137, allocations: 86.25 kB / 0.5189 GB, free: 9.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1372, allocations: 350.8 kB / 0.5193 GB, free: 9.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.1375, allocations: 149.1 kB / 0.5194 GB, free: 9.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.1379, allocations: 242.5 kB / 0.5196 GB, free: 9.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.1387, allocations: 409.2 kB / 0.52 GB, free: 8.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1387, allocations: 0 / 0.52 GB, free: 8.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001077/0.1398, allocations: 0.5595 MB / 0.5206 GB, free: 8.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1398, allocations: 9.859 kB / 0.5206 GB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1398, allocations: 4.281 kB / 0.5206 GB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/0.1401, allocations: 101.5 kB / 0.5207 GB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.1406, allocations: 107.8 kB / 0.5208 GB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.1437, allocations: 3.586 MB / 0.5243 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.144, allocations: 16 kB / 0.5243 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.144, allocations: 23.98 kB / 0.5243 GB, free: 3.902 MB / 366.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.0002588/0.1443, allocations: 189.5 kB / 0.5245 GB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.1444, allocations: 39.53 kB / 0.5246 GB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.062e-05/0.1445, allocations: 43.78 kB / 0.5246 GB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1445, allocations: 11.98 kB / 0.5246 GB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.1445, allocations: 4.25 kB / 0.5246 GB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1445, allocations: 7.984 kB / 0.5246 GB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.1462, allocations: 1.132 MB / 0.5257 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1462, allocations: 0 / 0.5257 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.1466, allocations: 83.89 kB / 0.5258 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.1468, allocations: 97.59 kB / 0.5259 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.1469, allocations: 8 kB / 0.5259 GB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2155/0.3623, allocations: 3.594 MB / 0.5294 GB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3624, allocations: 1.812 kB / 0.5294 GB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3637, allocations: 0.7653 MB / 0.5302 GB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3638, allocations: 149 kB / 0.5303 GB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.3639, allocations: 15.19 kB / 0.5303 GB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.3642, allocations: 23.52 kB / 0.5303 GB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3643, allocations: 35.12 kB / 0.5304 GB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.3643, allocations: 17.22 kB / 0.5304 GB, free: 22.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.3645, allocations: 209.2 kB / 0.5306 GB, free: 22.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3645, allocations: 0 / 0.5306 GB, free: 22.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006284/0.3652, allocations: 120 kB / 0.5307 GB, free: 22.38 MB / 366.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.0001062/0.3653, allocations: 106.4 kB / 0.5308 GB, free: 22.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.3664, allocations: 0.6647 MB / 0.5315 GB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3664, allocations: 4.234 kB / 0.5315 GB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.367, allocations: 488.1 kB / 0.5319 GB, free: 21.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3674, allocations: 54.28 kB / 0.532 GB, free: 21.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3691, allocations: 1.03 MB / 0.533 GB, free: 21.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3694, allocations: 0.8395 MB / 0.5338 GB, free: 20.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.3695, allocations: 35.09 kB / 0.5338 GB, free: 20.72 MB / 366.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3695, allocations: 0 / 0.5338 GB, free: 20.72 MB / 366.1 MB Notification: Performance of Templates: time 0.01292/0.3824, allocations: 9.868 MB / 0.5435 GB, free: 18.77 MB / 366.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)