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.001398/0.001398, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.63/1.63, allocations: 230.6 MB / 252.7 MB, free: 8.066 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.001793/0.001793, allocations: 224.5 kB / 309.2 MB, free: 2.945 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.04394/0.04394, allocations: 8.916 MB / 374.6 MB, free: 1.723 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.00263/0.00263, allocations: 86.66 kB / 0.4896 GB, free: 4.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1438, allocations: 55.61 MB / 0.5439 GB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02413/0.1679, allocations: 16.26 MB / 0.5598 GB, free: 4.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.183, allocations: 4.946 MB / 0.5646 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005183/0.1882, allocations: 187.1 kB / 0.5648 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0212/0.2094, allocations: 7.667 MB / 0.5723 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.2202, allocations: 2.179 MB / 0.5744 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006095/0.2263, allocations: 1.564 MB / 0.576 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01875/0.245, allocations: 10.92 MB / 0.5866 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04075/0.2858, allocations: 16.25 MB / 0.6025 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01372/0.2995, allocations: 6.208 MB / 0.6086 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01591/0.3154, allocations: 6.716 MB / 0.6151 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006241/0.3216, allocations: 1.621 MB / 0.6167 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008092/0.3297, allocations: 1.918 MB / 0.6186 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006709/0.3364, allocations: 3.304 MB / 0.6218 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01329/0.3497, allocations: 4.989 MB / 0.6267 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03516/0.3849, allocations: 22.08 MB / 0.6482 GB, free: 9.066 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3849, allocations: 3.938 kB / 0.6482 GB, free: 9.062 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3849, allocations: 0 / 0.6482 GB, free: 9.062 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008696/0.3858, allocations: 4 kB / 0.6482 GB, free: 9.059 MB / 462.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.5925/0.9782, allocations: 13.93 MB / 0.6618 GB, free: 87.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.9783, allocations: 8.562 kB / 0.6619 GB, free: 87.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04683/1.025, allocations: 7.786 MB / 0.6695 GB, free: 86.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.043, allocations: 6.9 MB / 0.6762 GB, free: 82.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/1.044, allocations: 0.8066 MB / 0.677 GB, free: 82.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007042/1.051, allocations: 1.064 MB / 0.678 GB, free: 80.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05852/1.11, allocations: 18.04 MB / 0.6956 GB, free: 62.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001042/1.111, allocations: 19.94 kB / 0.6957 GB, free: 62.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006447/1.117, allocations: 455.6 kB / 0.6961 GB, free: 62.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008374/1.118, allocations: 0.5696 MB / 0.6966 GB, free: 61.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05569/1.174, allocations: 16.19 MB / 0.7125 GB, free: 45.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.148/1.322, allocations: 46.28 MB / 0.7577 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02927/1.351, allocations: 7.593 MB / 0.7651 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0128/1.364, allocations: 3.395 MB / 0.7684 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/1.365, allocations: 128.2 kB / 0.7685 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/1.365, allocations: 86.95 kB / 0.7686 GB, free: 4.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=492): time 1.668e-05/1.365, allocations: 4 kB / 0.7686 GB, free: 4.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=492): time 0.04697/1.412, allocations: 10.33 MB / 0.7787 GB, free: 9.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/1.412, allocations: 133.5 kB / 0.7788 GB, free: 9.551 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.425, allocations: 3.585 MB / 0.7823 GB, free: 6.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001506/1.426, allocations: 105.7 kB / 0.7824 GB, free: 5.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007393/1.434, allocations: 4.493 MB / 0.7868 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004939/1.439, allocations: 1.747 MB / 0.7885 GB, free: 15.66 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007273/1.446, allocations: 1.334 MB / 0.7898 GB, free: 14.32 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.446, allocations: 301.1 kB / 0.7901 GB, free: 14.02 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01173/1.458, allocations: 3.28 MB / 0.7933 GB, free: 10.73 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01721/1.475, allocations: 5.611 MB / 0.7988 GB, free: 4.07 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02881/1.504, allocations: 9.539 MB / 0.8081 GB, free: 9.453 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001819/1.504, allocations: 24 kB / 0.8081 GB, free: 9.43 MB / 0.5138 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.0436/1.548, allocations: 10.28 MB / 0.8182 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002646/1.548, allocations: 36.03 kB / 0.8182 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003123/1.548, allocations: 80 kB / 0.8183 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006158/1.555, allocations: 1.086 MB / 0.8193 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01275/1.567, allocations: 1.521 MB / 0.8208 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03043/1.598, allocations: 12.96 MB / 0.8335 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/1.608, allocations: 0.8578 MB / 0.8343 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002882/1.611, allocations: 324 kB / 0.8346 GB, free: 13.84 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.01783/1.629, allocations: 4.114 MB / 0.8386 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002852/1.632, allocations: 413.3 kB / 0.839 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03068/1.662, allocations: 7.833 MB / 0.8467 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02215/1.685, allocations: 6.48 MB / 0.853 GB, free: 10.87 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.707e-05/1.685, allocations: 12 kB / 0.853 GB, free: 10.86 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001691/1.685, allocations: 31.83 kB / 0.853 GB, free: 10.83 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06684/1.752, allocations: 15.45 MB / 0.8681 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001481/1.752, allocations: 16 kB / 0.8681 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008587/1.76, allocations: 0.9595 MB / 0.8691 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005842/1.766, allocations: 0.986 MB / 0.87 GB, free: 9.117 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002023/1.768, allocations: 132 kB / 0.8702 GB, free: 8.988 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3646/2.133, allocations: 12.62 MB / 0.8825 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-05/2.133, allocations: 24.19 kB / 0.8825 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02227/2.155, allocations: 12.13 MB / 0.8944 GB, free: 188.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003726/2.159, allocations: 1.098 MB / 0.8954 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/2.16, allocations: 110.5 kB / 0.8955 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003573/2.164, allocations: 314.8 kB / 0.8958 GB, free: 188 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/2.165, allocations: 426.1 kB / 0.8962 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007055/2.166, allocations: 169.9 kB / 0.8964 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00463/2.171, allocations: 2.324 MB / 0.8987 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/2.171, allocations: 0 / 0.8987 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01013/2.181, allocations: 2.688 MB / 0.9013 GB, free: 186.5 MB / 0.5763 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.001473/2.182, allocations: 313.4 kB / 0.9016 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01527/2.197, allocations: 8.282 MB / 0.9097 GB, free: 183.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.8e-05/2.197, allocations: 7.875 kB / 0.9097 GB, free: 183.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007042/2.204, allocations: 3.987 MB / 0.9136 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007189/2.212, allocations: 0.9202 MB / 0.9145 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03763/2.249, allocations: 19.22 MB / 0.9333 GB, free: 163.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0127/2.262, allocations: 6.584 MB / 0.9397 GB, free: 157.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007612/2.27, allocations: 2.535 MB / 0.9422 GB, free: 155.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002188/2.272, allocations: 403.3 kB / 0.9425 GB, free: 154.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.302e-06/2.272, allocations: 0 / 0.9425 GB, free: 154.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.1068/2.379, allocations: 73.62 MB / 1.014 GB, free: 81.88 MB / 0.5763 GB " [Timeout remaining time 658] 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: 9.895783487707376] Failed to read output from testmodel.py, exit status != 0: 2.3892257008701563 2.399893322 2.012066298 Calling exit ...