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.002569/0.002569, allocations: 81.48 kB / 19.44 MB, free: 336 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.573/1.573, allocations: 177.1 MB / 199.7 MB, free: 5.816 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.002037/0.002037, allocations: 160.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.04473/0.04473, allocations: 6.657 MB / 319.4 MB, free: 11.8 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.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 1.442e-06/1.442e-06, allocations: 0 / 390.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.131e-05, allocations: 2.312 kB / 390.9 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02559/0.02562, allocations: 17.97 MB / 408.9 MB, free: 2.121 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.03978, allocations: 5.062 MB / 414 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004979/0.04476, allocations: 183.1 kB / 414.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02344/0.0682, allocations: 8.712 MB / 422.9 MB, free: 4.113 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.07887, allocations: 2.233 MB / 425.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005921/0.08479, allocations: 1.6 MB / 426.7 MB, free: 272 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01853/0.1033, allocations: 11.27 MB / 438 MB, free: 4.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2099/0.3132, allocations: 16.3 MB / 454.3 MB, free: 116.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0226/0.3358, allocations: 9.128 MB / 463.4 MB, free: 115.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01294/0.3487, allocations: 6.694 MB / 470.1 MB, free: 114.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005363/0.3541, allocations: 1.622 MB / 471.7 MB, free: 114.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007274/0.3613, allocations: 1.932 MB / 473.6 MB, free: 114 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005133/0.3665, allocations: 3.421 MB / 477.1 MB, free: 112.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008856/0.3753, allocations: 4.348 MB / 481.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.3936, allocations: 22.36 MB / 0.492 GB, free: 89.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3936, allocations: 1.75 kB / 0.492 GB, free: 89.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3937, allocations: 0 / 0.492 GB, free: 89.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005828/0.3942, allocations: 0 / 0.492 GB, free: 89.91 MB / 410.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.04493/0.4392, allocations: 15.85 MB / 0.5074 GB, free: 74.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.636e-05/0.4393, allocations: 12.03 kB / 0.5075 GB, free: 74.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04649/0.4857, allocations: 9.53 MB / 0.5168 GB, free: 64.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/0.5015, allocations: 6.375 MB / 0.523 GB, free: 58.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007543/0.5022, allocations: 0.815 MB / 0.5238 GB, free: 57.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00442/0.5066, allocations: 1.072 MB / 0.5248 GB, free: 56.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04297/0.5496, allocations: 18.27 MB / 0.5427 GB, free: 38.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004942/0.5501, allocations: 14.91 kB / 0.5427 GB, free: 38.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003322/0.5534, allocations: 448.4 kB / 0.5431 GB, free: 37.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004951/0.5539, allocations: 0.5735 MB / 0.5437 GB, free: 37.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02793/0.5819, allocations: 14.42 MB / 0.5577 GB, free: 22.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4263/1.008, allocations: 68.62 MB / 0.6248 GB, free: 91.19 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/1.023, allocations: 7.01 MB / 0.6316 GB, free: 89.04 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004841/1.028, allocations: 2.966 MB / 0.6345 GB, free: 87.84 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/1.028, allocations: 165 kB / 0.6347 GB, free: 87.68 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.547e-05/1.028, allocations: 93.66 kB / 0.6347 GB, free: 87.57 MB / 410.8 MB Notification: Performance of pre-optimization done (n=492): time 8.206e-06/1.028, allocations: 1.438 kB / 0.6347 GB, free: 87.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=492): time 0.02068/1.049, allocations: 9.135 MB / 0.6437 GB, free: 78.42 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/1.049, allocations: 133.5 kB / 0.6438 GB, free: 78.27 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007946/1.057, allocations: 5.272 MB / 0.6489 GB, free: 73.07 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000859/1.058, allocations: 105.7 kB / 0.649 GB, free: 72.96 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003013/1.061, allocations: 4.972 MB / 0.6539 GB, free: 68.73 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00246/1.063, allocations: 1.868 MB / 0.6557 GB, free: 67.08 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004455/1.068, allocations: 1.69 MB / 0.6574 GB, free: 65.38 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001029/1.068, allocations: 480.7 kB / 0.6578 GB, free: 64.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004933/1.073, allocations: 2.699 MB / 0.6605 GB, free: 62.2 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006466/1.079, allocations: 6.413 MB / 0.6667 GB, free: 54.35 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.091, allocations: 9.98 MB / 0.6765 GB, free: 42.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002261/1.091, allocations: 24 kB / 0.6765 GB, free: 42.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02019/1.111, allocations: 9.504 MB / 0.6858 GB, free: 33.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/1.111, allocations: 40.94 kB / 0.6858 GB, free: 33.28 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/1.111, allocations: 76.03 kB / 0.6859 GB, free: 33.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004241/1.116, allocations: 1.32 MB / 0.6872 GB, free: 31.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00579/1.121, allocations: 1.521 MB / 0.6887 GB, free: 30.35 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.136, allocations: 15.35 MB / 0.7037 GB, free: 14.53 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005978/1.142, allocations: 0.8539 MB / 0.7045 GB, free: 13.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.143, allocations: 327.9 kB / 0.7048 GB, free: 13.35 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.009507/1.153, allocations: 3.8 MB / 0.7085 GB, free: 9.535 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/1.155, allocations: 0.5599 MB / 0.7091 GB, free: 8.973 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/1.167, allocations: 6.801 MB / 0.7157 GB, free: 2.105 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01116/1.179, allocations: 5.577 MB / 0.7212 GB, free: 12.47 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.733e-05/1.179, allocations: 12 kB / 0.7212 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/1.179, allocations: 27.91 kB / 0.7212 GB, free: 12.43 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05105/1.23, allocations: 18.63 MB / 0.7394 GB, free: 9.566 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-05/1.23, allocations: 12 kB / 0.7394 GB, free: 9.555 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005106/1.235, allocations: 0.9594 MB / 0.7403 GB, free: 8.594 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004698/1.24, allocations: 1.216 MB / 0.7415 GB, free: 7.367 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009834/1.241, allocations: 136 kB / 0.7416 GB, free: 7.234 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2222/1.463, allocations: 15.04 MB / 0.7563 GB, free: 124.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.417e-05/1.463, allocations: 27.91 kB / 0.7564 GB, free: 124.6 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/1.477, allocations: 10.71 MB / 0.7668 GB, free: 122.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003043/1.48, allocations: 0.98 MB / 0.7678 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007485/1.481, allocations: 111 kB / 0.7679 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/1.484, allocations: 319.7 kB / 0.7682 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008046/1.484, allocations: 425.4 kB / 0.7686 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003029/1.485, allocations: 165.6 kB / 0.7687 GB, free: 122.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003555/1.488, allocations: 2.598 MB / 0.7713 GB, free: 122.3 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.01e-07/1.488, allocations: 0 / 0.7713 GB, free: 122.3 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008096/1.496, allocations: 2.69 MB / 0.7739 GB, free: 121.9 MB / 442.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.0008647/1.497, allocations: 309.6 kB / 0.7742 GB, free: 121.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01447/1.512, allocations: 8.176 MB / 0.7822 GB, free: 120.6 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.189e-05/1.512, allocations: 3.25 kB / 0.7822 GB, free: 120.6 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007178/1.519, allocations: 4.1 MB / 0.7862 GB, free: 119.2 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/1.524, allocations: 0.9609 MB / 0.7871 GB, free: 118.9 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/1.555, allocations: 17.94 MB / 0.8047 GB, free: 106.4 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007967/1.563, allocations: 5.908 MB / 0.8104 GB, free: 101.2 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005014/1.568, allocations: 2.137 MB / 0.8125 GB, free: 99.08 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.569, allocations: 404.4 kB / 0.8129 GB, free: 98.69 MB / 442.8 MB Notification: Performance of SimCode: time 1.603e-06/1.569, allocations: 0 / 0.8129 GB, free: 98.69 MB / 442.8 MB Notification: Performance of Templates: time 0.1036/1.673, allocations: 63.43 MB / 0.8748 GB, free: 35.98 MB / 442.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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.798620918998495]