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.001085/0.001085, allocations: 76.55 kB / 19.93 MB, free: 4.633 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 0.8582/0.8582, allocations: 177.1 MB / 200.2 MB, free: 5.965 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.001002/0.001002, allocations: 156.6 kB / 256.7 MB, free: 13.38 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.02145/0.02145, allocations: 6.664 MB / 319.8 MB, free: 26.79 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.132e-06/1.132e-06, allocations: 0 / 446.7 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.919e-05, allocations: 2.281 kB / 446.7 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.008946/0.008965, allocations: 16.28 MB / 462.9 MB, free: 20.79 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006423/0.01539, allocations: 4.965 MB / 467.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.01648, allocations: 187.1 kB / 468.1 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005702/0.02219, allocations: 8.111 MB / 476.2 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.02489, allocations: 2.228 MB / 478.4 MB, free: 5.262 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.02643, allocations: 1.568 MB / 480 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006494/0.03293, allocations: 11.28 MB / 491.3 MB, free: 8.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.04857, allocations: 16.28 MB / 0.4957 GB, free: 7.895 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007479/0.05605, allocations: 9.049 MB / 0.5045 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005045/0.0611, allocations: 6.047 MB / 0.5104 GB, free: 8.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.0623, allocations: 1.621 MB / 0.512 GB, free: 7.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.06417, allocations: 1.933 MB / 0.5139 GB, free: 5.219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001882/0.06606, allocations: 3.366 MB / 0.5172 GB, free: 1.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003538/0.06959, allocations: 4.296 MB / 0.5213 GB, free: 13.54 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.08435, allocations: 22.21 MB / 0.543 GB, free: 7.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.08436, allocations: 0 / 0.543 GB, free: 7.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.08436, allocations: 0 / 0.543 GB, free: 7.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007993/0.08516, allocations: 4 kB / 0.543 GB, free: 7.266 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.02519/0.1103, allocations: 13.82 MB / 0.5565 GB, free: 9.352 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1104, allocations: 15.97 kB / 0.5566 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02075/0.1311, allocations: 7.781 MB / 0.5642 GB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2984/0.4295, allocations: 6.896 MB / 0.5709 GB, free: 102.6 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/0.4299, allocations: 0.811 MB / 0.5717 GB, free: 102.3 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/0.4326, allocations: 1.066 MB / 0.5727 GB, free: 101.9 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.4527, allocations: 18.04 MB / 0.5903 GB, free: 89.96 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.4529, allocations: 11.95 kB / 0.5904 GB, free: 89.96 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007206/0.4536, allocations: 452.3 kB / 0.5908 GB, free: 89.53 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/0.4539, allocations: 0.5735 MB / 0.5913 GB, free: 88.95 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.4706, allocations: 16.19 MB / 0.6072 GB, free: 72.73 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04301/0.5137, allocations: 46.32 MB / 0.6524 GB, free: 26.2 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006801/0.5205, allocations: 7.584 MB / 0.6598 GB, free: 18.99 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/0.5231, allocations: 3.401 MB / 0.6631 GB, free: 15.59 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.5234, allocations: 136.3 kB / 0.6632 GB, free: 15.46 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.5234, allocations: 86.89 kB / 0.6633 GB, free: 15.36 MB / 426.8 MB Notification: Performance of pre-optimization done (n=492): time 7.133e-06/0.5234, allocations: 0 / 0.6633 GB, free: 15.36 MB / 426.8 MB Notification: Performance of matching and sorting (n=492): time 0.01091/0.5343, allocations: 10.34 MB / 0.6734 GB, free: 4.977 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.5344, allocations: 125.5 kB / 0.6735 GB, free: 4.832 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.5371, allocations: 3.587 MB / 0.677 GB, free: 1.336 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.5372, allocations: 105.7 kB / 0.6771 GB, free: 1.227 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.539, allocations: 4.469 MB / 0.6815 GB, free: 12.81 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009913/0.5399, allocations: 1.731 MB / 0.6832 GB, free: 11.11 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.5416, allocations: 1.323 MB / 0.6845 GB, free: 9.773 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.5416, allocations: 301.1 kB / 0.6848 GB, free: 9.477 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/0.5446, allocations: 3.284 MB / 0.688 GB, free: 6.188 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004191/0.5488, allocations: 5.615 MB / 0.6935 GB, free: 15.52 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007617/0.5564, allocations: 9.539 MB / 0.7028 GB, free: 4.906 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.5565, allocations: 20 kB / 0.7028 GB, free: 4.887 MB / 458.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01045/0.5669, allocations: 10.28 MB / 0.7128 GB, free: 10.55 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.567, allocations: 38.81 kB / 0.7129 GB, free: 10.52 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-05/0.567, allocations: 76 kB / 0.713 GB, free: 10.44 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.5686, allocations: 1.082 MB / 0.714 GB, free: 9.348 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/0.5713, allocations: 1.525 MB / 0.7155 GB, free: 7.82 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009991/0.5812, allocations: 12.96 MB / 0.7282 GB, free: 10.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.584, allocations: 0.8539 MB / 0.729 GB, free: 9.621 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/0.5843, allocations: 324 kB / 0.7293 GB, free: 9.305 MB / 490.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.005328/0.5896, allocations: 4.118 MB / 0.7333 GB, free: 5.172 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.5902, allocations: 409.3 kB / 0.7337 GB, free: 4.77 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008192/0.5983, allocations: 7.827 MB / 0.7414 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006346/0.6047, allocations: 6.492 MB / 0.7477 GB, free: 6.336 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.6047, allocations: 12 kB / 0.7477 GB, free: 6.324 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-05/0.6047, allocations: 23.91 kB / 0.7477 GB, free: 6.301 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2082/0.8129, allocations: 15.45 MB / 0.7628 GB, free: 161.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.8129, allocations: 11.62 kB / 0.7628 GB, free: 161.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.8148, allocations: 0.9612 MB / 0.7638 GB, free: 161.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.8164, allocations: 0.9852 MB / 0.7647 GB, free: 161 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/0.8167, allocations: 131.1 kB / 0.7649 GB, free: 160.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008529/0.8252, allocations: 12.61 MB / 0.7772 GB, free: 152.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.8252, allocations: 19.38 kB / 0.7772 GB, free: 152.7 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/0.8361, allocations: 12.1 MB / 0.789 GB, free: 146.9 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/0.838, allocations: 1.106 MB / 0.7901 GB, free: 146 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/0.8385, allocations: 118.6 kB / 0.7902 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.8399, allocations: 310.9 kB / 0.7905 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/0.8404, allocations: 422.5 kB / 0.7909 GB, free: 145.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/0.8406, allocations: 171.4 kB / 0.7911 GB, free: 145.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002316/0.8429, allocations: 2.318 MB / 0.7933 GB, free: 143.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8429, allocations: 0 / 0.7933 GB, free: 143.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005834/0.8487, allocations: 2.697 MB / 0.796 GB, free: 141 MB / 0.4949 GB 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.0007046/0.8494, allocations: 311.8 kB / 0.7963 GB, free: 140.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008459/0.8579, allocations: 8.29 MB / 0.8043 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/0.8579, allocations: 4 kB / 0.8044 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/0.8616, allocations: 3.981 MB / 0.8082 GB, free: 130.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/0.8648, allocations: 0.9183 MB / 0.8091 GB, free: 129.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/0.8867, allocations: 18.82 MB / 0.8275 GB, free: 111.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/0.8907, allocations: 6.364 MB / 0.8337 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/0.8922, allocations: 464.4 kB / 0.8342 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.703e-06/0.8922, allocations: 0 / 0.8342 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.5856/1.478, allocations: 360.1 MB / 1.186 GB, free: 145.9 MB / 0.5105 GB " [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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.756116713397205] Failed to read output from testmodel.py, exit status != 0: 1.4838862838223577 1.490482575 1.404710305 Calling exit ...