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.0009695/0.0009695, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.016/1.016, allocations: 177.2 MB / 201 MB, free: 5.715 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.00129/0.00129, allocations: 164.6 kB / 257.7 MB, free: 12.99 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.02632/0.02632, allocations: 6.664 MB / 320.9 MB, free: 11.46 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.432e-06/1.432e-06, allocations: 0 / 392.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.585e-05, allocations: 2.312 kB / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01223/0.01225, allocations: 17.62 MB / 410.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008456/0.0207, allocations: 5.027 MB / 415.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.02283, allocations: 183.1 kB / 415.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008015/0.03085, allocations: 8.556 MB / 424.3 MB, free: 3.852 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005754/0.0366, allocations: 2.221 MB / 426.5 MB, free: 1.617 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.03906, allocations: 1.582 MB / 428.1 MB, free: 36 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.0494, allocations: 11.28 MB / 439.4 MB, free: 4.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2084/0.2578, allocations: 16.28 MB / 455.6 MB, free: 117.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.2702, allocations: 9.127 MB / 464.8 MB, free: 116.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008951/0.2791, allocations: 6.838 MB / 471.6 MB, free: 114.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003779/0.2829, allocations: 1.622 MB / 473.2 MB, free: 114.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.286, allocations: 1.931 MB / 475.2 MB, free: 114.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.2879, allocations: 3.425 MB / 478.6 MB, free: 112.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005256/0.2931, allocations: 4.349 MB / 482.9 MB, free: 109.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00737/0.3005, allocations: 11.04 MB / 494 MB, free: 100.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3005, allocations: 0 / 494 MB, free: 100.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3005, allocations: 0 / 494 MB, free: 100.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001356/0.3006, allocations: 0 / 494 MB, free: 100.7 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.01603/0.3167, allocations: 14.09 MB / 0.4962 GB, free: 87.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3167, allocations: 12.03 kB / 0.4962 GB, free: 87.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.3352, allocations: 7.052 MB / 0.5031 GB, free: 80.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006127/0.3413, allocations: 5.865 MB / 0.5088 GB, free: 74.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.3416, allocations: 0.8145 MB / 0.5096 GB, free: 73.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.3426, allocations: 1.071 MB / 0.5106 GB, free: 72.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009761/0.3524, allocations: 8.872 MB / 0.5193 GB, free: 64.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/0.3525, allocations: 13.39 kB / 0.5193 GB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006691/0.3532, allocations: 454.7 kB / 0.5197 GB, free: 63.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002931/0.3535, allocations: 0.5735 MB / 0.5203 GB, free: 63.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005154/0.3587, allocations: 4.056 MB / 0.5243 GB, free: 59.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03205/0.3907, allocations: 41.71 MB / 0.565 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/0.3948, allocations: 4.725 MB / 0.5696 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.396, allocations: 1.405 MB / 0.571 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.3962, allocations: 160.2 kB / 0.5711 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.3962, allocations: 89.78 kB / 0.5712 GB, free: 12.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=492): time 6.152e-06/0.3962, allocations: 0 / 0.5712 GB, free: 12.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=492): time 0.007106/0.4033, allocations: 5.075 MB / 0.5762 GB, free: 7.637 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4033, allocations: 129.5 kB / 0.5763 GB, free: 7.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.4058, allocations: 3.364 MB / 0.5796 GB, free: 4.559 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.4059, allocations: 113.4 kB / 0.5797 GB, free: 4.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.273/0.679, allocations: 4.772 MB / 0.5843 GB, free: 93.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002148/0.6811, allocations: 1.824 MB / 0.5861 GB, free: 93.04 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/0.6828, allocations: 1.519 MB / 0.5876 GB, free: 92.93 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.6828, allocations: 480.5 kB / 0.5881 GB, free: 92.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.6838, allocations: 0.8023 MB / 0.5888 GB, free: 92.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.6859, allocations: 4.364 MB / 0.5931 GB, free: 88.37 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003747/0.6897, allocations: 5.813 MB / 0.5988 GB, free: 84.25 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.463e-05/0.6897, allocations: 27.19 kB / 0.5988 GB, free: 84.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.006795/0.6965, allocations: 5.365 MB / 0.6041 GB, free: 83.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.6966, allocations: 39.62 kB / 0.6041 GB, free: 83.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.419e-05/0.6966, allocations: 79.22 kB / 0.6042 GB, free: 83.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.6986, allocations: 0.9622 MB / 0.6051 GB, free: 83.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.7012, allocations: 1.37 MB / 0.6064 GB, free: 83.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007236/0.7084, allocations: 11.4 MB / 0.6176 GB, free: 75.72 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/0.7128, allocations: 0.6818 MB / 0.6182 GB, free: 75.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006891/0.7135, allocations: 270.4 kB / 0.6185 GB, free: 75.5 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.00352/0.717, allocations: 0.5933 MB / 0.6191 GB, free: 75.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.7182, allocations: 0.5613 MB / 0.6196 GB, free: 75.11 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008141/0.7264, allocations: 3.96 MB / 0.6235 GB, free: 74.74 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004056/0.7304, allocations: 2.753 MB / 0.6262 GB, free: 74.48 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-05/0.7305, allocations: 11.91 kB / 0.6262 GB, free: 74.48 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/0.7305, allocations: 22.5 kB / 0.6262 GB, free: 74.48 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/0.7479, allocations: 12.54 MB / 0.6385 GB, free: 72.74 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.7479, allocations: 11.16 kB / 0.6385 GB, free: 72.74 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.7497, allocations: 0.8148 MB / 0.6393 GB, free: 72.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/0.7517, allocations: 0.871 MB / 0.6401 GB, free: 72.66 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000286/0.752, allocations: 133 kB / 0.6402 GB, free: 72.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006514/0.7585, allocations: 11.24 MB / 0.6512 GB, free: 63.15 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.7585, allocations: 26.36 kB / 0.6512 GB, free: 63.13 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006066/0.7646, allocations: 5.574 MB / 0.6567 GB, free: 57.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.766, allocations: 0.8843 MB / 0.6576 GB, free: 57.02 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.7663, allocations: 107.8 kB / 0.6577 GB, free: 56.91 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.7674, allocations: 143.7 kB / 0.6578 GB, free: 56.78 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/0.768, allocations: 418.5 kB / 0.6582 GB, free: 56.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/0.7682, allocations: 139.2 kB / 0.6583 GB, free: 56.44 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001383/0.7696, allocations: 1.384 MB / 0.6597 GB, free: 55.42 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7696, allocations: 3.562 kB / 0.6597 GB, free: 55.42 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008068/0.7777, allocations: 2.687 MB / 0.6623 GB, free: 53.02 MB / 410.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.001153/0.7788, allocations: 310.6 kB / 0.6626 GB, free: 52.78 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007061/0.7859, allocations: 4.834 MB / 0.6673 GB, free: 48.75 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.7859, allocations: 1.531 kB / 0.6673 GB, free: 48.75 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002797/0.7887, allocations: 2.756 MB / 0.67 GB, free: 46.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.7921, allocations: 0.9558 MB / 0.6709 GB, free: 45.69 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/0.8124, allocations: 15.71 MB / 0.6863 GB, free: 31.2 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003067/0.8155, allocations: 3.002 MB / 0.6892 GB, free: 28.77 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002407/0.8179, allocations: 0.7432 MB / 0.6899 GB, free: 28.03 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/0.8196, allocations: 1.074 MB / 0.691 GB, free: 26.95 MB / 410.8 MB Notification: Performance of SimCode: time 2.014e-06/0.8196, allocations: 0 / 0.691 GB, free: 26.95 MB / 410.8 MB Notification: Performance of Templates: time 0.2333/1.053, allocations: 70.65 MB / 0.76 GB, free: 121.6 MB / 442.8 MB " [Timeout remaining time 659] 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: 5.652687347959727]