Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.001028/0.001028, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.9846/0.9846, allocations: 177.2 MB / 200 MB, free: 5.547 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.001251/0.001251, allocations: 164.6 kB / 256.6 MB, free: 13 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.02455/0.02455, allocations: 6.661 MB / 319.8 MB, free: 26.54 MB / 266.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.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 391.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.756e-05, allocations: 13.91 kB / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.007464/0.007492, allocations: 1.859 MB / 393.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.008197, allocations: 494.7 kB / 394 MB, free: 240 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.00828, allocations: 0 / 394 MB, free: 240 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.008385, allocations: 19.8 kB / 394 MB, free: 220 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.008452, allocations: 35.7 kB / 394 MB, free: 184 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.008576, allocations: 27.95 kB / 394.1 MB, free: 156 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.008709, allocations: 131.3 kB / 394.2 MB, free: 24 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.008845, allocations: 37.38 kB / 394.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.00893, allocations: 67.88 kB / 394.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.009015, allocations: 35.89 kB / 394.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.009043, allocations: 12 kB / 394.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.009059, allocations: 8 kB / 394.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.009088, allocations: 23.86 kB / 394.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.009134, allocations: 43.91 kB / 394.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.009311, allocations: 75.73 kB / 394.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.009315, allocations: 0 / 394.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.009318, allocations: 0 / 394.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.009325, allocations: 8 kB / 394.5 MB, free: 15.71 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005443/0.009869, allocations: 440.1 kB / 394.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.009918, allocations: 8.031 kB / 394.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.009982, allocations: 20.89 kB / 395 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.01019, allocations: 140.4 kB / 395.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.0102, allocations: 8.375 kB / 395.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.01024, allocations: 12.38 kB / 395.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.01039, allocations: 107.9 kB / 395.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.0104, allocations: 192 / 395.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.01042, allocations: 16.34 kB / 395.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01043, allocations: 7.938 kB / 395.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.0105, allocations: 39.86 kB / 395.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.01112, allocations: 465.7 kB / 395.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.01123, allocations: 47.05 kB / 395.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.01125, allocations: 19.62 kB / 395.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.01126, allocations: 4 kB / 395.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.01129, allocations: 41.33 kB / 395.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.01129, allocations: 3.938 kB / 395.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001602/0.01145, allocations: 53.77 kB / 395.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.01148, allocations: 55.41 kB / 396 MB, free: 14.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.01159, allocations: 181.9 kB / 396.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.0116, allocations: 25.7 kB / 396.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.01169, allocations: 174.5 kB / 396.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.0117, allocations: 15.91 kB / 396.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.01174, allocations: 23.38 kB / 396.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01185, allocations: 0.4922 MB / 396.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.01187, allocations: 12 kB / 396.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.0119, allocations: 39.03 kB / 396.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.01196, allocations: 47.06 kB / 397 MB, free: 13.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01196, allocations: 0 / 397 MB, free: 13.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.444e-05/0.01204, allocations: 77.52 kB / 397 MB, free: 12.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01206, allocations: 11.94 kB / 397 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01206, allocations: 0 / 397 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01208, allocations: 3.984 kB / 397.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.01216, allocations: 16.06 kB / 397.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01216, allocations: 4 kB / 397.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.01219, allocations: 7.938 kB / 397.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01219, allocations: 4 kB / 397.1 MB, free: 12.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.01226, allocations: 152.6 kB / 397.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.01228, allocations: 15.89 kB / 397.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.0123, allocations: 11.98 kB / 397.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.0123, allocations: 0 / 397.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.01231, allocations: 0 / 397.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01231, allocations: 0 / 397.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.01243, allocations: 148.6 kB / 397.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01243, allocations: 3.938 kB / 397.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.01248, allocations: 8 kB / 397.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01248, allocations: 0 / 397.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.01249, allocations: 7.938 kB / 397.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01249, allocations: 0 / 397.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01249, allocations: 0 / 397.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01264, allocations: 212.1 kB / 397.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.01265, allocations: 3.953 kB / 397.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.01266, allocations: 7.922 kB / 397.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.55e-05/0.0127, allocations: 12.02 kB / 397.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.01272, allocations: 3.984 kB / 397.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.01272, allocations: 4 kB / 397.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.01277, allocations: 142.4 kB / 397.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.01277, allocations: 3.938 kB / 397.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.01293, allocations: 23.94 kB / 397.8 MB, free: 12.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.742e-05/0.01301, allocations: 91.25 kB / 397.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.01311, allocations: 35.73 kB / 398 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01311, allocations: 4.125 kB / 398 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/0.01313, allocations: 19.61 kB / 398 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.01332, allocations: 12.12 kB / 398 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.01391, allocations: 265.5 kB / 398.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.01395, allocations: 59.34 kB / 398.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.842e-05/0.01398, allocations: 11.84 kB / 398.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.01401, allocations: 12.5 kB / 398.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01401, allocations: 0 / 398.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of Templates: time 0.002282/0.01629, allocations: 0.6393 MB / 399 MB, free: 10.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.01394673390314]