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.0009166/0.0009166, allocations: 92.22 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 0.9827/0.9827, allocations: 177.1 MB / 200 MB, free: 5.547 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.001746/0.001746, allocations: 160.6 kB / 256.6 MB, free: 13 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.02369/0.02369, allocations: 6.656 MB / 319.8 MB, free: 26.53 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 1.363e-06/1.363e-06, allocations: 0 / 391.6 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.095e-05, allocations: 2.312 kB / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01344/0.01346, allocations: 18.15 MB / 409.8 MB, free: 356 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1391/0.1526, allocations: 5.054 MB / 414.8 MB, free: 68.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.1549, allocations: 182.2 kB / 415 MB, free: 68.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009548/0.1645, allocations: 8.763 MB / 423.8 MB, free: 66.55 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.1697, allocations: 2.232 MB / 426 MB, free: 65.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.1723, allocations: 1.595 MB / 427.6 MB, free: 64.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007739/0.1801, allocations: 11.26 MB / 438.9 MB, free: 58.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01543/0.1955, allocations: 16.31 MB / 455.2 MB, free: 42.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008251/0.2038, allocations: 9.131 MB / 464.3 MB, free: 34.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005689/0.2095, allocations: 6.726 MB / 471 MB, free: 27.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002505/0.212, allocations: 1.621 MB / 472.6 MB, free: 25.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.2145, allocations: 1.929 MB / 474.6 MB, free: 23.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.2158, allocations: 3.433 MB / 478 MB, free: 20.28 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003975/0.2198, allocations: 4.347 MB / 482.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007086/0.2269, allocations: 11.04 MB / 493.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2269, allocations: 0 / 493.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2269, allocations: 0 / 493.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000138/0.2271, allocations: 0 / 493.4 MB, free: 4.848 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.01887/0.2459, allocations: 14.93 MB / 0.4964 GB, free: 5.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.246, allocations: 8.031 kB / 0.4964 GB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02264/0.2686, allocations: 9.526 MB / 0.5057 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.2801, allocations: 6.379 MB / 0.512 GB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005791/0.2807, allocations: 0.8108 MB / 0.5128 GB, free: 5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.2829, allocations: 1.074 MB / 0.5138 GB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01914/0.302, allocations: 9.663 MB / 0.5232 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.3022, allocations: 7.953 kB / 0.5232 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007419/0.3029, allocations: 452 kB / 0.5237 GB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004/0.3033, allocations: 0.5696 MB / 0.5242 GB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.3156, allocations: 5.172 MB / 0.5293 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3021/0.6178, allocations: 42.54 MB / 0.5708 GB, free: 82.66 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007707/0.6255, allocations: 5.445 MB / 0.5761 GB, free: 82.41 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/0.6279, allocations: 1.623 MB / 0.5777 GB, free: 82.34 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.6282, allocations: 160.4 kB / 0.5779 GB, free: 82.34 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/0.6283, allocations: 89.75 kB / 0.578 GB, free: 82.29 MB / 394.8 MB Notification: Performance of pre-optimization done (n=492): time 9.267e-06/0.6283, allocations: 0 / 0.578 GB, free: 82.29 MB / 394.8 MB Notification: Performance of matching and sorting (n=492): time 0.009419/0.6377, allocations: 5.694 MB / 0.5835 GB, free: 81.7 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.6377, allocations: 127.5 kB / 0.5836 GB, free: 81.6 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/0.641, allocations: 3.42 MB / 0.587 GB, free: 80.73 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.6412, allocations: 106.1 kB / 0.5871 GB, free: 80.64 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.6428, allocations: 4.761 MB / 0.5917 GB, free: 77.84 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008427/0.6437, allocations: 1.808 MB / 0.5935 GB, free: 76.64 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.645, allocations: 1.498 MB / 0.595 GB, free: 75.87 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.645, allocations: 476.8 kB / 0.5954 GB, free: 75.4 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.6465, allocations: 1.052 MB / 0.5964 GB, free: 75.21 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.649, allocations: 4.578 MB / 0.6009 GB, free: 70.42 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004595/0.6536, allocations: 6.227 MB / 0.607 GB, free: 63.37 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.629e-05/0.6537, allocations: 24 kB / 0.607 GB, free: 63.34 MB / 394.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.007484/0.6612, allocations: 5.943 MB / 0.6128 GB, free: 57.86 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.6612, allocations: 39.94 kB / 0.6129 GB, free: 57.82 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/0.6613, allocations: 76 kB / 0.6129 GB, free: 57.75 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.6632, allocations: 1.015 MB / 0.6139 GB, free: 56.72 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/0.6658, allocations: 1.529 MB / 0.6154 GB, free: 55.29 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/0.6725, allocations: 11.78 MB / 0.6269 GB, free: 43.18 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/0.6759, allocations: 0.8575 MB / 0.6278 GB, free: 42.46 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004581/0.6763, allocations: 323.9 kB / 0.6281 GB, free: 42.14 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.002687/0.679, allocations: 0.59 MB / 0.6286 GB, free: 41.64 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007172/0.6797, allocations: 0.556 MB / 0.6292 GB, free: 41.08 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/0.685, allocations: 4.393 MB / 0.6335 GB, free: 36.67 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00374/0.6887, allocations: 3.175 MB / 0.6366 GB, free: 33.48 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.6888, allocations: 15.94 kB / 0.6366 GB, free: 33.46 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.6888, allocations: 23.91 kB / 0.6366 GB, free: 33.44 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.7055, allocations: 13.21 MB / 0.6495 GB, free: 20.16 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.7055, allocations: 12 kB / 0.6495 GB, free: 20.15 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/0.7073, allocations: 0.9616 MB / 0.6505 GB, free: 19.24 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/0.7092, allocations: 0.9257 MB / 0.6514 GB, free: 18.3 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.7094, allocations: 132 kB / 0.6515 GB, free: 18.17 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006415/0.7159, allocations: 11.64 MB / 0.6629 GB, free: 6.125 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.7159, allocations: 22.66 kB / 0.6629 GB, free: 6.109 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007951/0.7238, allocations: 6.241 MB / 0.669 GB, free: 15.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/0.7256, allocations: 0.9828 MB / 0.6699 GB, free: 14.32 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.726, allocations: 112.9 kB / 0.67 GB, free: 14.21 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.7275, allocations: 315.7 kB / 0.6703 GB, free: 13.9 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007032/0.7282, allocations: 423.9 kB / 0.6708 GB, free: 13.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/0.7285, allocations: 172 kB / 0.6709 GB, free: 13.33 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002611/0.7311, allocations: 1.483 MB / 0.6724 GB, free: 11.85 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7311, allocations: 3.281 kB / 0.6724 GB, free: 11.85 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007765/0.7388, allocations: 2.679 MB / 0.675 GB, free: 9.16 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.0008705/0.7397, allocations: 318.6 kB / 0.6753 GB, free: 8.895 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009863/0.7496, allocations: 5.268 MB / 0.6804 GB, free: 3.773 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/0.7496, allocations: 4.375 kB / 0.6804 GB, free: 3.77 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004873/0.7545, allocations: 2.965 MB / 0.6833 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00472/0.7592, allocations: 0.9508 MB / 0.6843 GB, free: 15.87 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02807/0.7873, allocations: 15.89 MB / 0.6998 GB, free: 15.62 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004295/0.7916, allocations: 3.001 MB / 0.7027 GB, free: 12.59 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004959/0.7965, allocations: 2.135 MB / 0.7048 GB, free: 10.45 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009857/0.7975, allocations: 408.4 kB / 0.7052 GB, free: 10.05 MB / 442.8 MB Notification: Performance of SimCode: time 1.974e-06/0.7975, allocations: 0 / 0.7052 GB, free: 10.05 MB / 442.8 MB Notification: Performance of Templates: time 0.2172/1.015, allocations: 63.5 MB / 0.7672 GB, free: 103.8 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.262403586879373]