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.001399/0.001399, allocations: 104.4 kB / 19.7 MB, free: 2.137 MB / 14.72 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.511/1.511, allocations: 230.6 MB / 253.4 MB, free: 14.29 MB / 206.1 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.001629/0.001629, allocations: 207.4 kB / 310 MB, free: 3.031 MB / 238.1 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.04204/0.04204, allocations: 8.921 MB / 375.3 MB, free: 6.594 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 83.88 kB / 0.4904 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.09591, allocations: 55.61 MB / 0.5447 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02251/0.1184, allocations: 16.27 MB / 0.5606 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2337/0.3521, allocations: 4.945 MB / 0.5654 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/0.3565, allocations: 179.9 kB / 0.5656 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01712/0.3736, allocations: 7.663 MB / 0.573 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008344/0.3819, allocations: 2.18 MB / 0.5752 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004764/0.3867, allocations: 1.562 MB / 0.5767 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01385/0.4005, allocations: 10.91 MB / 0.5874 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02868/0.4292, allocations: 16.26 MB / 0.6032 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.4406, allocations: 6.205 MB / 0.6093 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01496/0.4555, allocations: 6.716 MB / 0.6159 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005441/0.461, allocations: 1.623 MB / 0.6174 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007971/0.4689, allocations: 1.915 MB / 0.6193 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00685/0.4758, allocations: 3.308 MB / 0.6225 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01195/0.4877, allocations: 4.993 MB / 0.6274 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02994/0.5177, allocations: 22.08 MB / 0.649 GB, free: 1.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.5177, allocations: 0 / 0.649 GB, free: 1.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5177, allocations: 0 / 0.649 GB, free: 1.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006435/0.5183, allocations: 0 / 0.649 GB, free: 1.617 MB / 430.1 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.04206/0.5604, allocations: 13.94 MB / 0.6626 GB, free: 3.695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.5605, allocations: 15.98 kB / 0.6626 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04389/0.6043, allocations: 7.773 MB / 0.6702 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/0.6211, allocations: 6.91 MB / 0.677 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000993/0.6221, allocations: 0.8087 MB / 0.6777 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004439/0.6266, allocations: 1.061 MB / 0.6788 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04842/0.675, allocations: 18.04 MB / 0.6964 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005115/0.6755, allocations: 11.95 kB / 0.6964 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003491/0.679, allocations: 455 kB / 0.6968 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007341/0.6797, allocations: 0.5774 MB / 0.6974 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04047/0.7202, allocations: 16.19 MB / 0.7132 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09623/0.8164, allocations: 46.28 MB / 0.7584 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/0.8317, allocations: 7.598 MB / 0.7658 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006553/0.8383, allocations: 3.402 MB / 0.7691 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/0.8389, allocations: 128.2 kB / 0.7693 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.839, allocations: 90.95 kB / 0.7694 GB, free: 5.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=492): time 1.057e-05/0.839, allocations: 0 / 0.7694 GB, free: 5.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=492): time 0.4658/1.305, allocations: 10.31 MB / 0.7794 GB, free: 159.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.305, allocations: 128.1 kB / 0.7795 GB, free: 159.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005946/1.311, allocations: 3.595 MB / 0.7831 GB, free: 159.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008281/1.312, allocations: 104.5 kB / 0.7832 GB, free: 159.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002979/1.315, allocations: 4.492 MB / 0.7875 GB, free: 157.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00212/1.317, allocations: 1.75 MB / 0.7892 GB, free: 156.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/1.319, allocations: 1.326 MB / 0.7905 GB, free: 155.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/1.319, allocations: 310.5 kB / 0.7908 GB, free: 155.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005023/1.324, allocations: 3.277 MB / 0.794 GB, free: 154.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006289/1.33, allocations: 5.618 MB / 0.7995 GB, free: 150.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/1.342, allocations: 9.544 MB / 0.8088 GB, free: 144.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002018/1.342, allocations: 23.22 kB / 0.8089 GB, free: 144.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01741/1.359, allocations: 10.27 MB / 0.8189 GB, free: 140.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/1.359, allocations: 43.36 kB / 0.8189 GB, free: 140.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/1.36, allocations: 75.44 kB / 0.819 GB, free: 140.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/1.363, allocations: 1.084 MB / 0.8201 GB, free: 140.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005219/1.368, allocations: 1.523 MB / 0.8216 GB, free: 140.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/1.381, allocations: 12.95 MB / 0.8342 GB, free: 131.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005532/1.387, allocations: 0.857 MB / 0.835 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.388, allocations: 323.7 kB / 0.8354 GB, free: 130.9 MB / 0.545 GB 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.00741/1.395, allocations: 4.114 MB / 0.8394 GB, free: 129.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.397, allocations: 413.5 kB / 0.8398 GB, free: 128.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.41, allocations: 7.833 MB / 0.8474 GB, free: 121.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008614/1.418, allocations: 6.491 MB / 0.8538 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.857e-05/1.418, allocations: 12 kB / 0.8538 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.801e-05/1.418, allocations: 27.89 kB / 0.8538 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02921/1.448, allocations: 15.45 MB / 0.8689 GB, free: 99.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/1.448, allocations: 12 kB / 0.8689 GB, free: 99.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003706/1.451, allocations: 0.9556 MB / 0.8698 GB, free: 98.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/1.454, allocations: 0.9863 MB / 0.8708 GB, free: 97.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00102/1.455, allocations: 132 kB / 0.8709 GB, free: 97.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/1.468, allocations: 12.62 MB / 0.8832 GB, free: 84.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/1.468, allocations: 19.94 kB / 0.8833 GB, free: 84.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/1.487, allocations: 12.14 MB / 0.8951 GB, free: 71.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003458/1.491, allocations: 1.093 MB / 0.8962 GB, free: 70.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.492, allocations: 112 kB / 0.8963 GB, free: 70.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/1.496, allocations: 323.6 kB / 0.8966 GB, free: 70.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/1.497, allocations: 417 kB / 0.897 GB, free: 69.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000712/1.497, allocations: 175.9 kB / 0.8972 GB, free: 69.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004013/1.501, allocations: 2.322 MB / 0.8994 GB, free: 67.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.501, allocations: 4 kB / 0.8994 GB, free: 67.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008993/1.51, allocations: 2.684 MB / 0.9021 GB, free: 64.77 MB / 0.545 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.001396/1.512, allocations: 315.3 kB / 0.9024 GB, free: 64.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01363/1.525, allocations: 8.287 MB / 0.9104 GB, free: 56.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.621e-05/1.525, allocations: 4.875 kB / 0.9105 GB, free: 56.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006804/1.532, allocations: 3.983 MB / 0.9143 GB, free: 52.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007366/1.54, allocations: 0.9204 MB / 0.9152 GB, free: 51.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/1.577, allocations: 18.89 MB / 0.9337 GB, free: 32.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009623/1.586, allocations: 6.367 MB / 0.9399 GB, free: 25.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/1.588, allocations: 463.3 kB / 0.9404 GB, free: 25.16 MB / 0.545 GB Notification: Performance of SimCode: time 1.623e-06/1.588, allocations: 0 / 0.9404 GB, free: 25.16 MB / 0.545 GB Notification: Performance of Templates: time 0.9093/2.498, allocations: 360.3 MB / 1.292 GB, free: 169 MB / 0.6075 GB " [Timeout remaining time 657] 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: 18.881772010121495] Failed to read output from testmodel.py, exit status != 0: 2.5064938459545374 2.517010156 1.996693317 Calling exit ...