Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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.001648/0.001648, allocations: 88.72 kB / 19.44 MB, free: 356 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.686/1.686, allocations: 177.1 MB / 199.7 MB, free: 5.809 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.002092/0.002092, allocations: 168.5 kB / 256.3 MB, free: 13.16 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.03883/0.03883, allocations: 6.651 MB / 319.4 MB, free: 26.57 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.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 390.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.84e-05, allocations: 2.312 kB / 390.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02654/0.02658, allocations: 16.3 MB / 407.2 MB, free: 2.586 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2028/0.2294, allocations: 4.992 MB / 412.2 MB, free: 68.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005033/0.2344, allocations: 184.3 kB / 412.4 MB, free: 68.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02/0.2544, allocations: 8.125 MB / 420.5 MB, free: 67.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009404/0.2638, allocations: 2.215 MB / 422.7 MB, free: 66.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005884/0.2697, allocations: 1.568 MB / 424.3 MB, free: 66.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01664/0.2863, allocations: 11.26 MB / 435.5 MB, free: 59.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03513/0.3215, allocations: 16.29 MB / 451.8 MB, free: 44.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.021/0.3425, allocations: 9.046 MB / 460.9 MB, free: 35.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01169/0.3541, allocations: 6.051 MB / 466.9 MB, free: 30.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005476/0.3596, allocations: 1.621 MB / 468.6 MB, free: 28.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008531/0.3682, allocations: 1.929 MB / 470.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006849/0.375, allocations: 3.374 MB / 473.9 MB, free: 23.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.3886, allocations: 4.292 MB / 478.1 MB, free: 18.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02939/0.418, allocations: 22.22 MB / 0.4886 GB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.418, allocations: 3.938 kB / 0.4886 GB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.418, allocations: 4 kB / 0.4886 GB, free: 12.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0008046/0.4188, allocations: 0 / 0.4886 GB, free: 12.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.05235/0.4711, allocations: 13.83 MB / 0.5022 GB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.4712, allocations: 12.03 kB / 0.5022 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05299/0.5242, allocations: 9.518 MB / 0.5115 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01906/0.5432, allocations: 7.166 MB / 0.5185 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001322/0.5446, allocations: 0.8147 MB / 0.5193 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005114/0.5497, allocations: 1.066 MB / 0.5203 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06073/0.6104, allocations: 18.03 MB / 0.5379 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005993/0.611, allocations: 19.89 kB / 0.5379 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004397/0.6154, allocations: 455.9 kB / 0.5384 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008648/0.6163, allocations: 0.5812 MB / 0.5389 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4084/1.025, allocations: 16.18 MB / 0.5547 GB, free: 109.9 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/1.128, allocations: 47.66 MB / 0.6013 GB, free: 77.16 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/1.141, allocations: 7.589 MB / 0.6087 GB, free: 69.98 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006102/1.147, allocations: 3.403 MB / 0.612 GB, free: 66.57 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008089/1.148, allocations: 167.6 kB / 0.6122 GB, free: 66.41 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.426e-05/1.148, allocations: 90.94 kB / 0.6122 GB, free: 66.31 MB / 394.8 MB Notification: Performance of pre-optimization done (n=492): time 9.268e-06/1.148, allocations: 0 / 0.6122 GB, free: 66.31 MB / 394.8 MB Notification: Performance of matching and sorting (n=492): time 0.02582/1.174, allocations: 10.5 MB / 0.6225 GB, free: 55.77 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/1.174, allocations: 125.5 kB / 0.6226 GB, free: 55.62 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/1.182, allocations: 3.589 MB / 0.6261 GB, free: 52.12 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.183, allocations: 101.7 kB / 0.6262 GB, free: 52.02 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003238/1.186, allocations: 4.474 MB / 0.6306 GB, free: 48.08 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002428/1.189, allocations: 1.733 MB / 0.6323 GB, free: 46.38 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004576/1.193, allocations: 1.319 MB / 0.6336 GB, free: 45.05 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/1.193, allocations: 301.1 kB / 0.6339 GB, free: 44.75 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005833/1.199, allocations: 3.277 MB / 0.6371 GB, free: 41.47 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007604/1.207, allocations: 5.615 MB / 0.6425 GB, free: 34.8 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.219, allocations: 9.547 MB / 0.6519 GB, free: 24.18 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/1.219, allocations: 20 kB / 0.6519 GB, free: 24.16 MB / 394.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02258/1.242, allocations: 10.6 MB / 0.6622 GB, free: 13.5 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/1.242, allocations: 43.94 kB / 0.6623 GB, free: 13.46 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/1.242, allocations: 72 kB / 0.6624 GB, free: 13.39 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004407/1.246, allocations: 1.341 MB / 0.6637 GB, free: 12.04 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006275/1.253, allocations: 1.525 MB / 0.6652 GB, free: 10.52 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/1.269, allocations: 13.03 MB / 0.6779 GB, free: 13.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007336/1.277, allocations: 0.8539 MB / 0.6787 GB, free: 12.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002061/1.279, allocations: 331.9 kB / 0.679 GB, free: 11.93 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01289/1.292, allocations: 4.11 MB / 0.683 GB, free: 7.801 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002506/1.294, allocations: 0.5599 MB / 0.6836 GB, free: 7.238 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02284/1.317, allocations: 7.821 MB / 0.6912 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01766/1.335, allocations: 6.484 MB / 0.6976 GB, free: 8.82 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.442e-05/1.335, allocations: 12 kB / 0.6976 GB, free: 8.809 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002164/1.335, allocations: 27.89 kB / 0.6976 GB, free: 8.781 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2886/1.624, allocations: 15.47 MB / 0.7127 GB, free: 127 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.078e-05/1.624, allocations: 17.88 kB / 0.7127 GB, free: 127 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004309/1.628, allocations: 0.9631 MB / 0.7137 GB, free: 127 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004514/1.632, allocations: 1.218 MB / 0.7148 GB, free: 126.8 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001331/1.634, allocations: 131.3 kB / 0.715 GB, free: 126.7 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/1.652, allocations: 12.7 MB / 0.7274 GB, free: 118.5 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/1.652, allocations: 25.47 kB / 0.7274 GB, free: 118.5 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02442/1.677, allocations: 12.29 MB / 0.7394 GB, free: 113.2 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003836/1.681, allocations: 1.101 MB / 0.7405 GB, free: 112.8 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/1.683, allocations: 109.2 kB / 0.7406 GB, free: 112.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00419/1.687, allocations: 316.1 kB / 0.7409 GB, free: 112.7 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001834/1.689, allocations: 423.8 kB / 0.7413 GB, free: 112.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001188/1.69, allocations: 176.5 kB / 0.7415 GB, free: 112.5 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.005309/1.695, allocations: 2.316 MB / 0.7437 GB, free: 111.7 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/1.695, allocations: 0.9844 kB / 0.7437 GB, free: 111.7 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01178/1.707, allocations: 2.685 MB / 0.7463 GB, free: 111.2 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/1.709, allocations: 309.9 kB / 0.7466 GB, free: 111 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01583/1.725, allocations: 8.295 MB / 0.7547 GB, free: 104.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.832e-05/1.725, allocations: 4 kB / 0.7547 GB, free: 104.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007928/1.733, allocations: 3.989 MB / 0.7586 GB, free: 101.2 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008775/1.742, allocations: 0.9531 MB / 0.7596 GB, free: 100.4 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04166/1.783, allocations: 19.4 MB / 0.7785 GB, free: 82.06 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01576/1.799, allocations: 6.571 MB / 0.7849 GB, free: 75.45 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.008526/1.807, allocations: 2.538 MB / 0.7874 GB, free: 72.92 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/1.81, allocations: 404.4 kB / 0.7878 GB, free: 72.53 MB / 426.8 MB Notification: Performance of SimCode: time 3.596e-06/1.81, allocations: 4 kB / 0.7878 GB, free: 72.52 MB / 426.8 MB Notification: Performance of Templates: time 0.1085/1.918, allocations: 63.63 MB / 0.8499 GB, free: 9.621 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & ./HanserModelica_HanserModelica.Machines.EquivalentCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.863338790950365]