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.001389/0.001389, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.326/1.326, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.001245/0.001245, allocations: 192.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03656/0.03656, allocations: 8.793 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 83.86 kB / 464.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.08098, allocations: 51.57 MB / 0.5041 GB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004309/0.08532, allocations: 3.828 MB / 0.5078 GB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.08654, allocations: 0.9075 MB / 0.5087 GB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.08672, allocations: 8 kB / 0.5087 GB, free: 4.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.08692, allocations: 95.08 kB / 0.5088 GB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.08725, allocations: 154.6 kB / 0.5089 GB, free: 4.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.08756, allocations: 163.8 kB / 0.5091 GB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.0881, allocations: 0.6423 MB / 0.5097 GB, free: 3.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.08846, allocations: 284.9 kB / 0.51 GB, free: 3.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.08871, allocations: 255.1 kB / 0.5102 GB, free: 3.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.08902, allocations: 274.8 kB / 0.5105 GB, free: 2.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.0891, allocations: 68 kB / 0.5105 GB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.0892, allocations: 68 kB / 0.5106 GB, free: 2.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/0.0893, allocations: 135.6 kB / 0.5107 GB, free: 2.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.08953, allocations: 310.5 kB / 0.511 GB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.0901, allocations: 0.7281 MB / 0.5117 GB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09011, allocations: 0 / 0.5117 GB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09011, allocations: 0 / 0.5117 GB, free: 1.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.09013, allocations: 0 / 0.5117 GB, free: 1.617 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.001295/0.09142, allocations: 0.8344 MB / 0.5126 GB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.09146, allocations: 8.031 kB / 0.5126 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.305e-05/0.09156, allocations: 56.28 kB / 0.5126 GB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.09199, allocations: 371.5 kB / 0.513 GB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.09204, allocations: 41.69 kB / 0.513 GB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.09211, allocations: 48.38 kB / 0.5131 GB, free: 184 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/0.093, allocations: 0.5227 MB / 0.5136 GB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.09302, allocations: 3.938 kB / 0.5136 GB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.09307, allocations: 20 kB / 0.5136 GB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.09309, allocations: 12 kB / 0.5136 GB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.09386, allocations: 395.8 kB / 0.514 GB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.09634, allocations: 1.887 MB / 0.5158 GB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.097, allocations: 307.5 kB / 0.5161 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.09754, allocations: 231.9 kB / 0.5163 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.09757, allocations: 4.281 kB / 0.5163 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.09761, allocations: 38.78 kB / 0.5164 GB, free: 12.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.09761, allocations: 0 / 0.5164 GB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.004473/0.1021, allocations: 1.733 MB / 0.5181 GB, free: 10.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1021, allocations: 55.84 kB / 0.5181 GB, free: 10.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.1024, allocations: 295.3 kB / 0.5184 GB, free: 10.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.1025, allocations: 33.7 kB / 0.5184 GB, free: 10.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1026, allocations: 272.2 kB / 0.5187 GB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.1027, allocations: 161.6 kB / 0.5189 GB, free: 9.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.1028, allocations: 86.25 kB / 0.5189 GB, free: 9.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.103, allocations: 346.7 kB / 0.5193 GB, free: 9.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.1033, allocations: 153 kB / 0.5194 GB, free: 9.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.1037, allocations: 242.5 kB / 0.5196 GB, free: 9.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.1045, allocations: 409.2 kB / 0.52 GB, free: 8.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1045, allocations: 7.984 kB / 0.52 GB, free: 8.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001071/0.1056, allocations: 0.5558 MB / 0.5206 GB, free: 8.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1056, allocations: 4 kB / 0.5206 GB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1056, allocations: 4 kB / 0.5206 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/0.1059, allocations: 97.61 kB / 0.5207 GB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.1064, allocations: 111.8 kB / 0.5208 GB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.109, allocations: 3.59 MB / 0.5243 GB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.1093, allocations: 28.02 kB / 0.5243 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.1094, allocations: 19.94 kB / 0.5243 GB, free: 3.984 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.0001928/0.1096, allocations: 185.7 kB / 0.5245 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.1096, allocations: 43.53 kB / 0.5246 GB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.538e-05/0.1097, allocations: 51.73 kB / 0.5246 GB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1098, allocations: 3.984 kB / 0.5246 GB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1098, allocations: 0 / 0.5246 GB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.1099, allocations: 144.6 kB / 0.5248 GB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.11, allocations: 11.94 kB / 0.5248 GB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.1103, allocations: 23.98 kB / 0.5248 GB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.1104, allocations: 40.38 kB / 0.5248 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00145/0.1118, allocations: 0.6221 MB / 0.5254 GB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001231/0.1131, allocations: 0.7831 MB / 0.5262 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003474/0.1134, allocations: 187.4 kB / 0.5264 GB, free: 1.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1136, allocations: 205.9 kB / 0.5266 GB, free: 1.641 MB / 366.1 MB Notification: Performance of Backend: time 2.2e-07/0.1136, allocations: 0 / 0.5266 GB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1148, allocations: 0.6075 MB / 0.5272 GB, free: 1 MB / 366.1 MB Notification: Performance of SimCode: time 0.157/0.2718, allocations: 1.43 MB / 0.5286 GB, free: 24.09 MB / 366.1 MB Notification: Performance of Templates: time 0.009723/0.2815, allocations: 5.437 MB / 0.5339 GB, free: 23.93 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)