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.0008877/0.0008877, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9308/0.9308, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001456/0.001456, allocations: 156.6 kB / 257 MB, free: 12.96 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.03038/0.03038, allocations: 6.657 MB / 266.9 MB, free: 3.223 MB / 250.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.763e-06/1.763e-06, allocations: 0 / 285.7 MB, free: 452 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.169e-05, allocations: 5.266 kB / 285.7 MB, free: 448 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.1122/0.1122, allocations: 17.66 MB / 303.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009666/0.1219, allocations: 5.339 MB / 308.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.1241, allocations: 182.3 kB / 308.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00662/0.1307, allocations: 8.73 MB / 317.6 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.1347, allocations: 2.222 MB / 319.8 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.1367, allocations: 1.591 MB / 321.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0087/0.1454, allocations: 11.27 MB / 332.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01781/0.1632, allocations: 16.73 MB / 349.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009249/0.1724, allocations: 9.174 MB / 358.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008016/0.1805, allocations: 6.929 MB / 365.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003578/0.184, allocations: 1.621 MB / 367.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.1869, allocations: 1.952 MB / 369.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001845/0.1888, allocations: 3.425 MB / 372.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004704/0.1935, allocations: 4.347 MB / 376.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.2041, allocations: 11.05 MB / 387.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2041, allocations: 0 / 387.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2041, allocations: 4 kB / 387.9 MB, free: 7.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003495/0.2045, allocations: 0 / 387.9 MB, free: 7.98 MB / 346.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.01926/0.2237, allocations: 13.12 MB / 401 MB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2238, allocations: 12.03 kB / 401 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/0.245, allocations: 7.531 MB / 408.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008962/0.2539, allocations: 3.492 MB / 412.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004544/0.2544, allocations: 0.8147 MB / 412.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/0.2561, allocations: 1.074 MB / 413.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.2686, allocations: 9.089 MB / 423 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.2688, allocations: 7.953 kB / 423 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007639/0.2696, allocations: 459.9 kB / 423.5 MB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004012/0.27, allocations: 0.5735 MB / 424.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2594/0.5293, allocations: 4.657 MB / 428.7 MB, free: 80.01 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.5654, allocations: 32.03 MB / 460.7 MB, free: 69.17 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003941/0.5694, allocations: 4.135 MB / 464.9 MB, free: 68.05 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.5705, allocations: 1.203 MB / 466.1 MB, free: 67.01 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.5707, allocations: 163.7 kB / 466.2 MB, free: 66.88 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.5707, allocations: 86.95 kB / 466.3 MB, free: 66.78 MB / 378.8 MB Notification: Performance of pre-optimization done (n=492): time 7.003e-06/0.5707, allocations: 0 / 466.3 MB, free: 66.78 MB / 378.8 MB Notification: Performance of matching and sorting (n=492): time 0.006278/0.577, allocations: 4.15 MB / 470.5 MB, free: 63.67 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.577, allocations: 133.3 kB / 470.6 MB, free: 63.53 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.5784, allocations: 2.271 MB / 472.9 MB, free: 62 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.5786, allocations: 101.7 kB / 473 MB, free: 61.89 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.5796, allocations: 4.193 MB / 477.2 MB, free: 58.54 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/0.5802, allocations: 1.733 MB / 478.9 MB, free: 56.91 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009769/0.5811, allocations: 1.191 MB / 480.1 MB, free: 55.84 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.642e-05/0.5812, allocations: 309.1 kB / 480.4 MB, free: 55.54 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000967/0.5821, allocations: 0.9713 MB / 481.4 MB, free: 54.56 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.5835, allocations: 3.029 MB / 484.4 MB, free: 50.68 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.5862, allocations: 4.613 MB / 489 MB, free: 45.46 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/0.5863, allocations: 20 kB / 489 MB, free: 45.44 MB / 378.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.004215/0.5905, allocations: 4.356 MB / 493.4 MB, free: 41.57 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.5905, allocations: 40 kB / 493.4 MB, free: 41.53 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.5906, allocations: 72 kB / 493.5 MB, free: 41.46 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.5921, allocations: 0.9109 MB / 494.4 MB, free: 40.55 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.5945, allocations: 1.421 MB / 495.8 MB, free: 39.24 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/0.5992, allocations: 8.323 MB / 0.4923 GB, free: 30.79 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.6008, allocations: 0.6862 MB / 0.493 GB, free: 30.09 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/0.601, allocations: 255.9 kB / 0.4933 GB, free: 29.84 MB / 378.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.001407/0.6025, allocations: 0.5493 MB / 0.4938 GB, free: 29.39 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/0.6029, allocations: 397.8 kB / 0.4942 GB, free: 29 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.6063, allocations: 3.233 MB / 0.4973 GB, free: 25.78 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002148/0.6084, allocations: 2.061 MB / 0.4993 GB, free: 23.72 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6084, allocations: 12 kB / 0.4993 GB, free: 23.71 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.6085, allocations: 23.91 kB / 0.4994 GB, free: 23.69 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008766/0.6172, allocations: 9.484 MB / 0.5086 GB, free: 15.25 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.6172, allocations: 12 kB / 0.5086 GB, free: 15.23 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.6189, allocations: 0.8411 MB / 0.5095 GB, free: 14.45 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.6203, allocations: 0.817 MB / 0.5103 GB, free: 13.63 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.6205, allocations: 120 kB / 0.5104 GB, free: 13.52 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004497/0.6249, allocations: 8.165 MB / 0.5184 GB, free: 5.184 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.625, allocations: 19.56 kB / 0.5184 GB, free: 5.168 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.629, allocations: 4.554 MB / 0.5228 GB, free: 260 kB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008537/0.6299, allocations: 0.6542 MB / 0.5235 GB, free: 15.6 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003182/0.6302, allocations: 112 kB / 0.5236 GB, free: 15.49 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.6311, allocations: 140 kB / 0.5237 GB, free: 15.36 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/0.6316, allocations: 410 kB / 0.5241 GB, free: 14.97 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/0.6318, allocations: 124 kB / 0.5242 GB, free: 14.85 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0008514/0.6326, allocations: 1.008 MB / 0.5252 GB, free: 13.96 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6326, allocations: 4 kB / 0.5252 GB, free: 13.96 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004703/0.6373, allocations: 2.686 MB / 0.5278 GB, free: 11.26 MB / 394.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.000424/0.6377, allocations: 300.7 kB / 0.5281 GB, free: 11.02 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00412/0.6419, allocations: 4.03 MB / 0.532 GB, free: 7.238 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001003/0.642, allocations: 70.23 kB / 0.5321 GB, free: 7.164 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.6442, allocations: 2.279 MB / 0.5343 GB, free: 5.004 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.6464, allocations: 0.9437 MB / 0.5353 GB, free: 4.098 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.664, allocations: 15.47 MB / 0.5504 GB, free: 4.461 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/0.6659, allocations: 2.157 MB / 0.5525 GB, free: 2.273 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001792/0.6677, allocations: 0.7354 MB / 0.5532 GB, free: 1.535 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/0.6694, allocations: 0.9597 MB / 0.5541 GB, free: 0.5703 MB / 410.8 MB Notification: Performance of SimCode: time 1.393e-06/0.6694, allocations: 0 / 0.5541 GB, free: 0.5703 MB / 410.8 MB Notification: Performance of Templates: time 0.2076/0.877, allocations: 69.82 MB / 0.6223 GB, free: 86.3 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.68066920619458]