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.001537/0.001537, allocations: 109.1 kB / 16.41 MB, free: 6.465 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.425/1.425, allocations: 222.9 MB / 240.1 MB, free: 4.512 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.001374/0.001374, allocations: 188.5 kB / 290.4 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03623/0.03623, allocations: 8.794 MB / 349.3 MB, free: 4.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 83.86 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1024, allocations: 51.56 MB / 0.504 GB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004758/0.1072, allocations: 3.824 MB / 0.5078 GB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1089, allocations: 0.9192 MB / 0.5087 GB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.1092, allocations: 8 kB / 0.5087 GB, free: 4.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1095, allocations: 87.14 kB / 0.5088 GB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.11, allocations: 158.6 kB / 0.5089 GB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.1104, allocations: 163.8 kB / 0.5091 GB, free: 4.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006885/0.1111, allocations: 0.6462 MB / 0.5097 GB, free: 3.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.1115, allocations: 288.9 kB / 0.51 GB, free: 3.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.1119, allocations: 255.1 kB / 0.5102 GB, free: 3.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.1122, allocations: 270.8 kB / 0.5105 GB, free: 2.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.1124, allocations: 75.94 kB / 0.5106 GB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1125, allocations: 68 kB / 0.5106 GB, free: 2.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1126, allocations: 139.6 kB / 0.5108 GB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.1129, allocations: 302.6 kB / 0.511 GB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.1136, allocations: 0.7281 MB / 0.5118 GB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1136, allocations: 0 / 0.5118 GB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1136, allocations: 0 / 0.5118 GB, free: 1.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.1136, allocations: 0 / 0.5118 GB, free: 1.531 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.001969/0.1156, allocations: 0.8344 MB / 0.5126 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1157, allocations: 8.031 kB / 0.5126 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1158, allocations: 60.22 kB / 0.5126 GB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.1166, allocations: 375.5 kB / 0.513 GB, free: 176 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.1166, allocations: 37.69 kB / 0.513 GB, free: 140 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.1168, allocations: 48.38 kB / 0.5131 GB, free: 92 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.1181, allocations: 0.5227 MB / 0.5136 GB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1182, allocations: 4 kB / 0.5136 GB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.1183, allocations: 20 kB / 0.5136 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.1183, allocations: 12 kB / 0.5136 GB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.1195, allocations: 387.8 kB / 0.514 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.1234, allocations: 1.883 MB / 0.5158 GB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009363/0.1244, allocations: 313 kB / 0.5161 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.1251, allocations: 229.3 kB / 0.5163 GB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1251, allocations: 4.281 kB / 0.5163 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.1252, allocations: 42.78 kB / 0.5164 GB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.826e-06/0.1252, allocations: 0 / 0.5164 GB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.006306/0.1315, allocations: 1.733 MB / 0.5181 GB, free: 10.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1316, allocations: 55.84 kB / 0.5181 GB, free: 10.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.132, allocations: 299.4 kB / 0.5184 GB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.1321, allocations: 29.7 kB / 0.5185 GB, free: 10.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.1324, allocations: 268.2 kB / 0.5187 GB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.1325, allocations: 165.6 kB / 0.5189 GB, free: 9.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.1328, allocations: 82.25 kB / 0.5189 GB, free: 9.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.1331, allocations: 350.7 kB / 0.5193 GB, free: 9.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.1336, allocations: 145.1 kB / 0.5194 GB, free: 9.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/0.1342, allocations: 242.5 kB / 0.5196 GB, free: 9.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1352, allocations: 417.1 kB / 0.52 GB, free: 8.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1352, allocations: 3.938 kB / 0.52 GB, free: 8.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001599/0.1368, allocations: 0.5597 MB / 0.5206 GB, free: 8.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1369, allocations: 4 kB / 0.5206 GB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1369, allocations: 4 kB / 0.5206 GB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.1373, allocations: 101.6 kB / 0.5207 GB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.1379, allocations: 111.9 kB / 0.5208 GB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.1419, allocations: 3.59 MB / 0.5243 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.1423, allocations: 19.98 kB / 0.5243 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.1424, allocations: 16 kB / 0.5243 GB, free: 3.906 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.0002893/0.1427, allocations: 197.6 kB / 0.5245 GB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1428, allocations: 39.53 kB / 0.5246 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1429, allocations: 47.73 kB / 0.5246 GB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.1429, allocations: 3.984 kB / 0.5246 GB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1429, allocations: 0 / 0.5246 GB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.1432, allocations: 144.6 kB / 0.5248 GB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.1433, allocations: 15.94 kB / 0.5248 GB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.1437, allocations: 23.98 kB / 0.5248 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.1438, allocations: 36.38 kB / 0.5248 GB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002029/0.1459, allocations: 0.6182 MB / 0.5254 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001884/0.1478, allocations: 0.7831 MB / 0.5262 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005137/0.1483, allocations: 187.4 kB / 0.5264 GB, free: 1.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.1486, allocations: 205.9 kB / 0.5266 GB, free: 1.562 MB / 366.1 MB Notification: Performance of Backend: time 4.41e-07/0.1486, allocations: 0 / 0.5266 GB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.1502, allocations: 0.6073 MB / 0.5272 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of SimCode: time 0.1651/0.3153, allocations: 1.43 MB / 0.5286 GB, free: 24.3 MB / 366.1 MB Notification: Performance of Templates: time 0.009663/0.325, allocations: 5.437 MB / 0.5339 GB, free: 24.14 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)