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.001397/0.001397, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.383/1.383, allocations: 177.1 MB / 199.4 MB, free: 8.426 MB / 190.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.001616/0.001616, allocations: 159.7 kB / 256 MB, free: 4.328 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.04077/0.04077, allocations: 6.658 MB / 319 MB, free: 5.391 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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.723e-05, allocations: 2.281 kB / 445.9 MB, free: 25.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.0138/0.01383, allocations: 16.29 MB / 462.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.02428, allocations: 4.961 MB / 467.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.02855, allocations: 183.1 kB / 467.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.019/0.04755, allocations: 8.129 MB / 475.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008506/0.05606, allocations: 2.217 MB / 477.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00547/0.06153, allocations: 1.579 MB / 479.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2434/0.3049, allocations: 11.25 MB / 490.5 MB, free: 16.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03388/0.3388, allocations: 16.29 MB / 0.4949 GB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02311/0.3619, allocations: 9.041 MB / 0.5038 GB, free: 7.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01267/0.3746, allocations: 6.053 MB / 0.5097 GB, free: 5.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005741/0.3803, allocations: 1.621 MB / 0.5112 GB, free: 5.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00833/0.3887, allocations: 1.928 MB / 0.5131 GB, free: 3.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007043/0.3957, allocations: 3.364 MB / 0.5164 GB, free: 1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.408, allocations: 4.302 MB / 0.5206 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03083/0.4388, allocations: 22.21 MB / 0.5423 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4389, allocations: 4.938 kB / 0.5423 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4389, allocations: 0 / 0.5423 GB, free: 7.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006723/0.4395, allocations: 0 / 0.5423 GB, free: 7.992 MB / 382.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.04343/0.483, allocations: 13.84 MB / 0.5558 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.483, allocations: 15.98 kB / 0.5558 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04573/0.5287, allocations: 7.769 MB / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/0.5472, allocations: 6.896 MB / 0.5702 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009334/0.5482, allocations: 0.8084 MB / 0.5709 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004509/0.5527, allocations: 1.077 MB / 0.572 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04366/0.5963, allocations: 18.03 MB / 0.5896 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/0.5966, allocations: 11.95 kB / 0.5896 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002114/0.5987, allocations: 456.3 kB / 0.5901 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006343/0.5994, allocations: 0.5788 MB / 0.5906 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03471/0.6341, allocations: 16.19 MB / 0.6064 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09552/0.7296, allocations: 46.31 MB / 0.6517 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.7432, allocations: 7.58 MB / 0.6591 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3431/1.086, allocations: 3.4 MB / 0.6624 GB, free: 155.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/1.087, allocations: 133.6 kB / 0.6625 GB, free: 155.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/1.087, allocations: 85.52 kB / 0.6626 GB, free: 155.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=492): time 8.456e-06/1.087, allocations: 3.062 kB / 0.6626 GB, free: 155.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=492): time 0.02138/1.108, allocations: 10.33 MB / 0.6727 GB, free: 152.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/1.108, allocations: 133 kB / 0.6728 GB, free: 152.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/1.113, allocations: 3.587 MB / 0.6763 GB, free: 151.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004419/1.113, allocations: 106.6 kB / 0.6764 GB, free: 151.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/1.115, allocations: 4.48 MB / 0.6808 GB, free: 148.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/1.117, allocations: 1.727 MB / 0.6825 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/1.118, allocations: 1.318 MB / 0.6838 GB, free: 147 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.984e-05/1.118, allocations: 301.1 kB / 0.684 GB, free: 146.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/1.122, allocations: 3.281 MB / 0.6873 GB, free: 145.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004436/1.126, allocations: 5.611 MB / 0.6927 GB, free: 141.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008691/1.135, allocations: 9.54 MB / 0.702 GB, free: 135.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-05/1.135, allocations: 24.75 kB / 0.7021 GB, free: 135.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01488/1.15, allocations: 10.28 MB / 0.7121 GB, free: 127.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.113e-05/1.15, allocations: 42.12 kB / 0.7121 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/1.15, allocations: 76 kB / 0.7122 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/1.153, allocations: 1.082 MB / 0.7133 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005266/1.158, allocations: 1.531 MB / 0.7148 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.171, allocations: 12.94 MB / 0.7274 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005428/1.177, allocations: 0.8617 MB / 0.7282 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.178, allocations: 324 kB / 0.7286 GB, free: 110.6 MB / 494.1 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.007783/1.186, allocations: 4.111 MB / 0.7326 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001341/1.187, allocations: 421.2 kB / 0.733 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.201, allocations: 7.82 MB / 0.7406 GB, free: 98.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008734/1.209, allocations: 6.487 MB / 0.7469 GB, free: 91.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-05/1.209, allocations: 15.94 kB / 0.747 GB, free: 91.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-05/1.209, allocations: 31.61 kB / 0.747 GB, free: 91.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0301/1.239, allocations: 15.45 MB / 0.7621 GB, free: 76.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.482e-05/1.24, allocations: 12 kB / 0.7621 GB, free: 76.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/1.243, allocations: 0.9595 MB / 0.763 GB, free: 75.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/1.246, allocations: 0.987 MB / 0.764 GB, free: 74.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006786/1.246, allocations: 132 kB / 0.7641 GB, free: 73.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/1.259, allocations: 12.62 MB / 0.7764 GB, free: 60.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/1.259, allocations: 27.81 kB / 0.7765 GB, free: 60.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/1.279, allocations: 12.1 MB / 0.7883 GB, free: 48.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004357/1.283, allocations: 1.101 MB / 0.7894 GB, free: 47.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.285, allocations: 108 kB / 0.7895 GB, free: 47.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003615/1.288, allocations: 322.8 kB / 0.7898 GB, free: 46.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/1.29, allocations: 423.4 kB / 0.7902 GB, free: 46.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007448/1.29, allocations: 172 kB / 0.7903 GB, free: 46.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004573/1.295, allocations: 2.318 MB / 0.7926 GB, free: 43.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/1.295, allocations: 0 / 0.7926 GB, free: 43.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00884/1.304, allocations: 2.679 MB / 0.7952 GB, free: 41.17 MB / 494.1 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.001335/1.305, allocations: 321 kB / 0.7955 GB, free: 40.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01401/1.319, allocations: 8.295 MB / 0.8036 GB, free: 32.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.471e-05/1.319, allocations: 4 kB / 0.8036 GB, free: 32.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006712/1.326, allocations: 3.979 MB / 0.8075 GB, free: 28.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007111/1.333, allocations: 0.9193 MB / 0.8084 GB, free: 27.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/1.37, allocations: 19.13 MB / 0.8271 GB, free: 8.172 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/1.38, allocations: 6.583 MB / 0.8335 GB, free: 1.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006109/1.386, allocations: 2.53 MB / 0.836 GB, free: 15.01 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.388, allocations: 408.4 kB / 0.8364 GB, free: 14.61 MB / 0.4982 GB Notification: Performance of SimCode: time 1.764e-06/1.388, allocations: 0 / 0.8364 GB, free: 14.61 MB / 0.4982 GB Notification: Performance of Templates: time 0.3499/1.738, allocations: 63.34 MB / 0.8982 GB, free: 133.1 MB / 0.4982 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: 8.506803572177887] Failed to read output from testmodel.py, exit status != 0: 1.7465668097138405 1.758949371 1.316397131 Calling exit ...