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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.059/1.059, allocations: 177.2 MB / 200.5 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 164.3 kB / 257 MB, free: 13.05 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02495/0.02495, allocations: 6.652 MB / 320.1 MB, free: 11.69 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 391.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.55e-05, allocations: 2.312 kB / 391.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005612/0.005648, allocations: 3.81 MB / 395.5 MB, free: 248 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.007443, allocations: 0.9774 MB / 396.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.007711, allocations: 11.94 kB / 396.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.007931, allocations: 87.16 kB / 396.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.008339, allocations: 166.5 kB / 396.7 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.008977, allocations: 179.7 kB / 396.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005244/0.009502, allocations: 0.6732 MB / 397.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.00978, allocations: 189.4 kB / 397.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.01018, allocations: 403.2 kB / 398.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.01041, allocations: 211.4 kB / 398.3 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.01048, allocations: 68 kB / 398.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.01057, allocations: 68 kB / 398.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.01064, allocations: 143.5 kB / 398.6 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.01079, allocations: 211.6 kB / 398.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.01126, allocations: 458.3 kB / 399.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01127, allocations: 0 / 399.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01127, allocations: 0 / 399.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.01128, allocations: 8 kB / 399.3 MB, free: 12.41 MB / 378.7 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.001026/0.0123, allocations: 0.8623 MB / 400.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.01234, allocations: 16.03 kB / 400.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.01255, allocations: 104.6 kB / 400.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.01306, allocations: 316.5 kB / 400.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.0131, allocations: 37.69 kB / 400.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.01316, allocations: 52.38 kB / 400.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.01374, allocations: 0.4901 MB / 401.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01375, allocations: 192 / 401.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.01379, allocations: 28.36 kB / 401.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.0138, allocations: 15.94 kB / 401.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.01412, allocations: 193.9 kB / 401.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.01583, allocations: 1.71 MB / 403.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.01622, allocations: 235.8 kB / 403.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.01649, allocations: 169.3 kB / 403.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.01651, allocations: 8.281 kB / 403.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.01654, allocations: 41.67 kB / 403.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/0.01655, allocations: 0 / 403.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.00251/0.01906, allocations: 1.206 MB / 404.7 MB, free: 6.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.01909, allocations: 59.84 kB / 404.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.01931, allocations: 330.2 kB / 405.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.01934, allocations: 33.7 kB / 405.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.01947, allocations: 327.5 kB / 405.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.01956, allocations: 166.5 kB / 405.6 MB, free: 5.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.01965, allocations: 87.84 kB / 405.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01978, allocations: 0.5195 MB / 406.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01991, allocations: 68.95 kB / 406.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.02009, allocations: 186.3 kB / 406.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.0204, allocations: 290.7 kB / 406.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0204, allocations: 0 / 406.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005183/0.02092, allocations: 424.5 kB / 407.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.02094, allocations: 8 kB / 407.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02094, allocations: 0 / 407.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.02119, allocations: 95.27 kB / 407.3 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.02143, allocations: 107.9 kB / 407.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.02386, allocations: 4.267 MB / 411.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.024, allocations: 16 kB / 411.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.02402, allocations: 23.97 kB / 411.7 MB, free: 15.3 MB / 394.7 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.0001449/0.02417, allocations: 184.5 kB / 411.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.02423, allocations: 55.7 kB / 411.9 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.02429, allocations: 51.69 kB / 412 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02429, allocations: 8.031 kB / 412 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.0243, allocations: 0 / 412 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.0243, allocations: 0 / 412 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.02517, allocations: 0.8468 MB / 412.8 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02517, allocations: 3.938 kB / 412.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.02537, allocations: 79.89 kB / 412.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.02556, allocations: 91.41 kB / 413 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.02558, allocations: 15.98 kB / 413 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.02755, allocations: 4.271 MB / 417.3 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02756, allocations: 0 / 417.3 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.02821, allocations: 0.5879 MB / 417.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.0283, allocations: 71.61 kB / 417.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.02833, allocations: 15.98 kB / 418 MB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.02846, allocations: 16 kB / 418 MB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.02854, allocations: 39.92 kB / 418 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.02856, allocations: 8 kB / 418 MB, free: 8.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004127/0.02897, allocations: 227 kB / 418.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02897, allocations: 0 / 418.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.02941, allocations: 124 kB / 418.4 MB, free: 8.285 MB / 394.7 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.0001191/0.02953, allocations: 107.2 kB / 418.5 MB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006707/0.0302, allocations: 0.6275 MB / 419.1 MB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.0302, allocations: 4.188 kB / 419.1 MB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.03057, allocations: 0.5314 MB / 419.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.03088, allocations: 60.78 kB / 419.7 MB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.03242, allocations: 0.9213 MB / 420.6 MB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.393e-05/0.0325, allocations: 126.2 kB / 420.7 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.03261, allocations: 39.27 kB / 420.8 MB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.03269, allocations: 36.48 kB / 420.8 MB, free: 5.688 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.03269, allocations: 0 / 420.8 MB, free: 5.688 MB / 394.7 MB Notification: Performance of Templates: time 0.008252/0.04095, allocations: 4.739 MB / 425.5 MB, free: 1.004 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0750914949458092]