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.001747/0.001747, allocations: 95.06 kB / 19.44 MB, free: 464 kB / 13.93 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.635/1.635, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.002255/0.002255, allocations: 156.6 kB / 256.3 MB, free: 13.17 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.03776/0.03776, allocations: 6.662 MB / 319.4 MB, free: 26.58 MB / 266.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.394e-06/2.394e-06, allocations: 0 / 390.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.78e-05, allocations: 6.312 kB / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.007284/0.007322, allocations: 3.53 MB / 394.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.01039, allocations: 0.9619 MB / 395.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.01114, allocations: 8 kB / 395.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.01165, allocations: 91.03 kB / 395.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.01304, allocations: 174.4 kB / 395.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008718/0.01392, allocations: 179.7 kB / 395.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.01543, allocations: 0.6732 MB / 396.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.01606, allocations: 181.4 kB / 396.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.01724, allocations: 407.2 kB / 397.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.01784, allocations: 199.4 kB / 397.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.01804, allocations: 68 kB / 397.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.0183, allocations: 72 kB / 397.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.01848, allocations: 135.5 kB / 397.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.01894, allocations: 207.5 kB / 397.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.02047, allocations: 0.7595 MB / 398.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02047, allocations: 0 / 398.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.02048, allocations: 0 / 398.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.904e-05/0.02051, allocations: 0 / 398.5 MB, free: 11.34 MB / 330.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.00244/0.02295, allocations: 0.7663 MB / 399.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.02301, allocations: 16.03 kB / 399.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.02348, allocations: 112.5 kB / 399.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009022/0.02438, allocations: 317.7 kB / 399.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.02446, allocations: 41.62 kB / 399.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.02459, allocations: 52.38 kB / 399.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.02608, allocations: 0.5905 MB / 400.4 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.0261, allocations: 4.188 kB / 400.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.02616, allocations: 20.38 kB / 400.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.02618, allocations: 15.94 kB / 400.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.02724, allocations: 391.7 kB / 400.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.03109, allocations: 1.646 MB / 402.4 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.03239, allocations: 306.5 kB / 402.7 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.03305, allocations: 217.3 kB / 403 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.03309, allocations: 8.281 kB / 403 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.03314, allocations: 38.83 kB / 403 MB, free: 6.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 3.146e-06/0.03314, allocations: 4 kB / 403 MB, free: 6.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.006061/0.0392, allocations: 1.582 MB / 404.6 MB, free: 5.012 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.03927, allocations: 55.91 kB / 404.6 MB, free: 4.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.03984, allocations: 300.1 kB / 404.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/0.0399, allocations: 29.7 kB / 405 MB, free: 4.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.0402, allocations: 276.8 kB / 405.2 MB, free: 4.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.04043, allocations: 162.6 kB / 405.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.04063, allocations: 86.14 kB / 405.5 MB, free: 4.086 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.04088, allocations: 350.7 kB / 405.8 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.04134, allocations: 148.9 kB / 406 MB, free: 3.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.04186, allocations: 241.9 kB / 406.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/0.04282, allocations: 418.3 kB / 406.6 MB, free: 2.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.04283, allocations: 0 / 406.6 MB, free: 2.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001475/0.0443, allocations: 0.5731 MB / 407.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.04433, allocations: 8 kB / 407.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.04434, allocations: 4 kB / 407.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.04484, allocations: 101.7 kB / 407.3 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.0454, allocations: 107.9 kB / 407.4 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2005/0.2459, allocations: 3.336 MB / 410.7 MB, free: 81.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.2464, allocations: 22.61 kB / 410.8 MB, free: 81.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.2464, allocations: 18.2 kB / 410.8 MB, free: 81.91 MB / 330.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.0003594/0.2468, allocations: 180.2 kB / 411 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.247, allocations: 56 kB / 411 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.2471, allocations: 44.78 kB / 411.1 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.2471, allocations: 6.094 kB / 411.1 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.2471, allocations: 6.844 kB / 411.1 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.2471, allocations: 2.391 kB / 411.1 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.2494, allocations: 0.9578 MB / 412 MB, free: 81.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.2494, allocations: 1.625 kB / 412 MB, free: 81.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.2498, allocations: 85.48 kB / 412.1 MB, free: 81.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.2503, allocations: 101.5 kB / 412.2 MB, free: 81.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.2503, allocations: 13.06 kB / 412.2 MB, free: 81.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.2536, allocations: 3.323 MB / 415.5 MB, free: 78.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.2537, allocations: 0.5 kB / 415.5 MB, free: 78.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.2563, allocations: 0.7945 MB / 416.3 MB, free: 77.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.2566, allocations: 67.67 kB / 416.4 MB, free: 77.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.2567, allocations: 8.234 kB / 416.4 MB, free: 77.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.2571, allocations: 31.62 kB / 416.4 MB, free: 77.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.2573, allocations: 34.91 kB / 416.5 MB, free: 77.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.2574, allocations: 14.91 kB / 416.5 MB, free: 77.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003006/0.2577, allocations: 203.1 kB / 416.7 MB, free: 77.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2577, allocations: 1.625 kB / 416.7 MB, free: 77.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008818/0.2585, allocations: 120.2 kB / 416.8 MB, free: 77.79 MB / 330.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.0001829/0.2587, allocations: 111 kB / 416.9 MB, free: 77.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.2603, allocations: 0.6475 MB / 417.6 MB, free: 77.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.2603, allocations: 0 / 417.6 MB, free: 77.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009556/0.2613, allocations: 480.5 kB / 418 MB, free: 77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.2619, allocations: 51.67 kB / 418.1 MB, free: 76.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.2644, allocations: 0.9642 MB / 419.1 MB, free: 76.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2648, allocations: 243.2 kB / 419.3 MB, free: 76.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000312/0.2652, allocations: 44.2 kB / 419.3 MB, free: 76.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2653, allocations: 35.23 kB / 419.4 MB, free: 76.36 MB / 330.7 MB Notification: Performance of SimCode: time 2.435e-06/0.2653, allocations: 0 / 419.4 MB, free: 76.36 MB / 330.7 MB Notification: Performance of Templates: time 0.01471/0.28, allocations: 4.708 MB / 424.1 MB, free: 75.32 MB / 330.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.754780975985341]