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.0008289/0.0008289, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002311, allocations: 448 kB / 10.42 MB, free: 276 kB / 10.45 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.052/1.052, allocations: 177.2 MB / 188.4 MB, free: 4.395 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2155/1.268, allocations: 53.65 MB / 242 MB, free: 2.605 MB / 234.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.001165/0.001165, allocations: 151.9 kB / 242.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002636, allocations: 486.1 kB / 243.4 MB, free: 1.266 MB / 234.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 / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005969/0.03634, allocations: 2.672 MB / 253.5 MB, free: 7.391 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.102e-06/1.102e-06, allocations: 0 / 254.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.398e-05, allocations: 6.25 kB / 254.8 MB, free: 6.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01761/0.01762, allocations: 17.8 MB / 272.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.03019, allocations: 5.375 MB / 277.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.0324, allocations: 183.1 kB / 278.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.04332, allocations: 8.746 MB / 286.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004923/0.04824, allocations: 2.21 MB / 289.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.0511, allocations: 1.584 MB / 290.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00985/0.06095, allocations: 11.35 MB / 302 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01854/0.07949, allocations: 16.34 MB / 318.3 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2306/0.3101, allocations: 9.345 MB / 327.7 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01547/0.3256, allocations: 6.901 MB / 334.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008172/0.3338, allocations: 1.62 MB / 336.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/0.3476, allocations: 1.949 MB / 338.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008801/0.3564, allocations: 2.682 MB / 340.8 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01871/0.3751, allocations: 3.596 MB / 344.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02399/0.3991, allocations: 10.41 MB / 354.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-05/0.3991, allocations: 0.5938 kB / 354.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3991, allocations: 0 / 354.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0008602/0.4, allocations: 5.281 kB / 354.9 MB, free: 15.51 MB / 314.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.03945/0.4394, allocations: 15.29 MB / 370.1 MB, free: 4.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4395, allocations: 8.031 kB / 370.1 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02948/0.4689, allocations: 7.536 MB / 377.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.4809, allocations: 3.483 MB / 381.2 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008929/0.4818, allocations: 0.8097 MB / 382 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006562/0.4884, allocations: 1.075 MB / 383.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04444/0.5328, allocations: 9.099 MB / 392.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005485/0.5334, allocations: 10.3 kB / 392.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004515/0.5379, allocations: 456.6 kB / 392.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007178/0.5386, allocations: 0.55 MB / 393.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.5595, allocations: 4.664 MB / 397.8 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07243/0.6319, allocations: 32.22 MB / 430 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006087/0.638, allocations: 4.198 MB / 434.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.64, allocations: 1.212 MB / 435.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.6404, allocations: 164.2 kB / 435.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.405e-05/0.6404, allocations: 82.95 kB / 435.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=492): time 7.635e-06/0.6404, allocations: 0 / 435.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=492): time 0.00774/0.6482, allocations: 4.152 MB / 439.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.6483, allocations: 129.5 kB / 440 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/0.6514, allocations: 2.275 MB / 442.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000516/0.6519, allocations: 101.7 kB / 442.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002323/0.6542, allocations: 4.182 MB / 446.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.6556, allocations: 1.736 MB / 448.3 MB, free: 9.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.657, allocations: 1.197 MB / 449.5 MB, free: 7.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.6571, allocations: 305.1 kB / 449.8 MB, free: 7.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.6585, allocations: 0.9674 MB / 450.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.6609, allocations: 3.036 MB / 453.8 MB, free: 2.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005065/0.666, allocations: 4.836 MB / 458.6 MB, free: 13.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.541e-05/0.6661, allocations: 20 kB / 458.6 MB, free: 13.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.006523/0.6726, allocations: 4.352 MB / 463 MB, free: 9.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.6726, allocations: 40 kB / 463 MB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.793e-05/0.6727, allocations: 76.03 kB / 463.1 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.6747, allocations: 0.9077 MB / 464 MB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.6783, allocations: 1.551 MB / 465.5 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.6856, allocations: 8.304 MB / 473.8 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004242/0.6898, allocations: 0.6862 MB / 474.5 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/0.6911, allocations: 252 kB / 474.8 MB, free: 13.61 MB / 426.7 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.00343/0.6945, allocations: 0.5539 MB / 475.3 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008269/0.6954, allocations: 391.7 kB / 475.7 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/0.7001, allocations: 3.245 MB / 479 MB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002839/0.703, allocations: 2.062 MB / 481 MB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.583e-05/0.703, allocations: 14.73 kB / 481 MB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.659e-05/0.7031, allocations: 27.89 kB / 481.1 MB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2818/0.9849, allocations: 9.471 MB / 490.5 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/0.9849, allocations: 13.19 kB / 490.5 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/0.9883, allocations: 0.926 MB / 491.5 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/0.9911, allocations: 0.6561 MB / 492.1 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/0.9935, allocations: 0.8302 MB / 493 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001062/0.9946, allocations: 118.6 kB / 493.1 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00757/1.002, allocations: 8.08 MB / 0.4894 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-05/1.002, allocations: 25.53 kB / 0.4894 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007297/1.009, allocations: 4.566 MB / 0.4939 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.011, allocations: 121.4 kB / 0.494 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/1.013, allocations: 133.1 kB / 0.4941 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007895/1.014, allocations: 419 kB / 0.4945 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.014, allocations: 121.1 kB / 0.4946 GB, free: 101.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001504/1.015, allocations: 1.008 MB / 0.4956 GB, free: 101.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.015, allocations: 0.75 kB / 0.4956 GB, free: 101.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007865/1.023, allocations: 2.682 MB / 0.4982 GB, free: 100.9 MB / 426.7 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.001227/1.024, allocations: 301.9 kB / 0.4985 GB, free: 100.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007871/1.032, allocations: 4.137 MB / 0.5026 GB, free: 100 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0005007/1.033, allocations: 111 kB / 0.5027 GB, free: 100 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004798/1.038, allocations: 2.954 MB / 0.5056 GB, free: 99.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007217/1.045, allocations: 6.937 MB / 0.5123 GB, free: 93.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07002/1.115, allocations: 16.71 MB / 0.5287 GB, free: 86.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005629/1.12, allocations: 2.2 MB / 0.5308 GB, free: 86.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003258/1.124, allocations: 0.6661 MB / 0.5315 GB, free: 86.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/1.126, allocations: 0.8324 MB / 0.5323 GB, free: 86.08 MB / 426.7 MB Notification: Performance of SimCode: time 3.066e-06/1.126, allocations: 4 kB / 0.5323 GB, free: 86.07 MB / 426.7 MB Notification: Performance of Templates: time 0.1101/1.236, allocations: 71.87 MB / 0.6025 GB, free: 19.75 MB / 426.7 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 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.08254411816597]