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.000962/0.000962, allocations: 93.06 kB / 19.65 MB, free: 276 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.131/1.131, allocations: 177.2 MB / 200 MB, free: 5.539 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.001442/0.001442, allocations: 160.6 kB / 256.6 MB, free: 12.98 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.02317/0.02317, allocations: 6.658 MB / 319.8 MB, free: 26.52 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.044e-06/2.044e-06, allocations: 0 / 391.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.13e-05, allocations: 2.312 kB / 391.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01498/0.01501, allocations: 18.14 MB / 409.8 MB, free: 356 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1747/0.1897, allocations: 5.054 MB / 414.8 MB, free: 68.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003762/0.1935, allocations: 185.8 kB / 415 MB, free: 68.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.2055, allocations: 8.754 MB / 423.8 MB, free: 66.55 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007872/0.2134, allocations: 2.235 MB / 426 MB, free: 65.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.2173, allocations: 1.593 MB / 427.6 MB, free: 64.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.2295, allocations: 11.26 MB / 438.9 MB, free: 58.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02448/0.254, allocations: 16.32 MB / 455.2 MB, free: 42.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02123/0.2752, allocations: 9.126 MB / 464.3 MB, free: 34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.2861, allocations: 6.82 MB / 471.1 MB, free: 27.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004922/0.2911, allocations: 1.621 MB / 472.7 MB, free: 25.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006113/0.2972, allocations: 1.933 MB / 474.7 MB, free: 23.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003225/0.3004, allocations: 3.425 MB / 478.1 MB, free: 20.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007478/0.3079, allocations: 4.343 MB / 482.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007863/0.3157, allocations: 11.04 MB / 493.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3158, allocations: 0 / 493.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3158, allocations: 0 / 493.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001211/0.3159, allocations: 0 / 493.5 MB, free: 4.758 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: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.02149/0.3374, allocations: 14.93 MB / 0.4965 GB, free: 5.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3374, allocations: 8.031 kB / 0.4965 GB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03464/0.3721, allocations: 9.526 MB / 0.5058 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.3841, allocations: 6.383 MB / 0.5121 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004748/0.3845, allocations: 0.8109 MB / 0.5128 GB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.3862, allocations: 1.07 MB / 0.5139 GB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.4043, allocations: 9.666 MB / 0.5233 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/0.4045, allocations: 11.95 kB / 0.5233 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007501/0.4053, allocations: 448 kB / 0.5238 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004586/0.4057, allocations: 0.5735 MB / 0.5243 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.4168, allocations: 5.164 MB / 0.5294 GB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3646/0.7815, allocations: 42.54 MB / 0.5709 GB, free: 82.79 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007488/0.789, allocations: 5.439 MB / 0.5762 GB, free: 82.53 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.7915, allocations: 1.626 MB / 0.5778 GB, free: 82.47 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.7918, allocations: 160.2 kB / 0.578 GB, free: 82.46 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.059e-05/0.7919, allocations: 90.69 kB / 0.5781 GB, free: 82.41 MB / 394.8 MB Notification: Performance of pre-optimization done (n=492): time 9.157e-06/0.7919, allocations: 0 / 0.5781 GB, free: 82.41 MB / 394.8 MB Notification: Performance of matching and sorting (n=492): time 0.01178/0.8037, allocations: 5.694 MB / 0.5836 GB, free: 81.82 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.8037, allocations: 128 kB / 0.5837 GB, free: 81.72 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.8077, allocations: 3.422 MB / 0.5871 GB, free: 80.77 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.808, allocations: 101.6 kB / 0.5872 GB, free: 80.68 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002206/0.8102, allocations: 4.765 MB / 0.5918 GB, free: 77.88 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.8112, allocations: 1.798 MB / 0.5936 GB, free: 76.68 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/0.813, allocations: 1.506 MB / 0.5951 GB, free: 75.91 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.8131, allocations: 476.8 kB / 0.5955 GB, free: 75.44 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.815, allocations: 1.05 MB / 0.5965 GB, free: 75.24 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.8182, allocations: 4.575 MB / 0.601 GB, free: 70.45 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005719/0.8239, allocations: 6.219 MB / 0.6071 GB, free: 63.29 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.971e-05/0.8239, allocations: 24 kB / 0.6071 GB, free: 63.27 MB / 394.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.007207/0.8311, allocations: 5.948 MB / 0.6129 GB, free: 57.77 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.8312, allocations: 39.94 kB / 0.6129 GB, free: 57.73 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.274e-05/0.8312, allocations: 76.88 kB / 0.613 GB, free: 57.66 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.8331, allocations: 1.018 MB / 0.614 GB, free: 56.64 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.8356, allocations: 1.527 MB / 0.6155 GB, free: 55.21 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007183/0.8428, allocations: 11.78 MB / 0.627 GB, free: 43.09 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.8449, allocations: 0.8617 MB / 0.6279 GB, free: 42.38 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.8452, allocations: 327.4 kB / 0.6282 GB, free: 42.06 MB / 394.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.002259/0.8475, allocations: 0.5928 MB / 0.6287 GB, free: 41.55 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/0.848, allocations: 0.5599 MB / 0.6293 GB, free: 40.99 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/0.853, allocations: 4.382 MB / 0.6336 GB, free: 36.59 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003605/0.8566, allocations: 3.179 MB / 0.6367 GB, free: 33.39 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.8566, allocations: 15.94 kB / 0.6367 GB, free: 33.38 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.8567, allocations: 23.91 kB / 0.6367 GB, free: 33.36 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.8707, allocations: 13.21 MB / 0.6496 GB, free: 20.08 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.8707, allocations: 15.98 kB / 0.6496 GB, free: 20.06 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.8724, allocations: 0.9555 MB / 0.6506 GB, free: 19.16 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.8741, allocations: 0.935 MB / 0.6515 GB, free: 18.21 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.8743, allocations: 128 kB / 0.6516 GB, free: 18.09 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005902/0.8802, allocations: 11.64 MB / 0.663 GB, free: 6.039 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.8802, allocations: 22.47 kB / 0.663 GB, free: 6.023 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006451/0.8867, allocations: 6.238 MB / 0.6691 GB, free: 15.22 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.888, allocations: 0.9838 MB / 0.67 GB, free: 14.23 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/0.8884, allocations: 115.9 kB / 0.6701 GB, free: 14.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.8897, allocations: 315.7 kB / 0.6704 GB, free: 13.81 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005065/0.8902, allocations: 425.3 kB / 0.6708 GB, free: 13.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/0.8904, allocations: 172 kB / 0.671 GB, free: 13.24 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001653/0.892, allocations: 1.483 MB / 0.6725 GB, free: 11.76 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.892, allocations: 0 / 0.6725 GB, free: 11.76 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005653/0.8977, allocations: 2.679 MB / 0.6751 GB, free: 9.07 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.0005136/0.8982, allocations: 317.7 kB / 0.6754 GB, free: 8.809 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006747/0.9049, allocations: 5.264 MB / 0.6805 GB, free: 3.688 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.905, allocations: 2.188 kB / 0.6805 GB, free: 3.688 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002863/0.9078, allocations: 2.964 MB / 0.6834 GB, free: 0.7031 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.9101, allocations: 0.9558 MB / 0.6843 GB, free: 15.79 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.9292, allocations: 15.89 MB / 0.6999 GB, free: 15.54 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.9314, allocations: 3.005 MB / 0.7028 GB, free: 12.5 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003294/0.9347, allocations: 2.131 MB / 0.7049 GB, free: 10.37 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/0.9355, allocations: 408.4 kB / 0.7053 GB, free: 9.965 MB / 442.8 MB Notification: Performance of SimCode: time 1.863e-06/0.9355, allocations: 0 / 0.7053 GB, free: 9.965 MB / 442.8 MB Notification: Performance of Templates: time 0.2246/1.16, allocations: 66.83 MB / 0.7705 GB, free: 100.5 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.571694883983582]