Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.0007841/0.0007841, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001825, allocations: 440 kB / 10.41 MB, free: 284 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.13/1.13, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2176/1.348, allocations: 53.66 MB / 242 MB, free: 2.609 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.001152/0.001152, allocations: 164.5 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002578, allocations: 476 kB / 243.4 MB, free: 1.27 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.0458/0.0458, allocations: 6.662 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005618/0.05141, allocations: 2.66 MB / 253.5 MB, free: 7.406 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.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 254.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.708e-05, allocations: 2.312 kB / 254.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001001/0.001018, allocations: 0.5509 MB / 255.3 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 4.943e-05/0.001067, allocations: 19.91 kB / 255.3 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.001087, allocations: 0 / 255.3 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.228e-06/0.001092, allocations: 0 / 255.3 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.077e-05/0.001102, allocations: 3.938 kB / 255.3 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.692e-05/0.001159, allocations: 11.92 kB / 255.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.844e-05/0.001228, allocations: 8 kB / 255.3 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.001273, allocations: 0 / 255.3 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.001335, allocations: 15.92 kB / 255.4 MB, free: 5.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.001392, allocations: 4 kB / 255.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.001412, allocations: 0 / 255.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-06/0.001418, allocations: 0 / 255.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.001435, allocations: 0 / 255.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.001452, allocations: 4 kB / 255.4 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.924e-05/0.001522, allocations: 11.92 kB / 255.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.001533, allocations: 0 / 255.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.001534, allocations: 0 / 255.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.001544, allocations: 0 / 255.4 MB, free: 5.492 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002802/0.001824, allocations: 232.7 kB / 255.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.001857, allocations: 8.031 kB / 255.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.00188, allocations: 4.938 kB / 255.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.83e-05/0.001959, allocations: 109.7 kB / 255.7 MB, free: 5.094 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.001968, allocations: 8.375 kB / 255.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.00199, allocations: 384 / 255.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.143e-05/0.002052, allocations: 38.19 kB / 255.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-06/0.002057, allocations: 192 / 255.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.002062, allocations: 384 / 255.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.002067, allocations: 384 / 255.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.002085, allocations: 11.94 kB / 255.8 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.904e-05/0.002174, allocations: 64.97 kB / 255.8 MB, free: 4.953 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.96e-05/0.002224, allocations: 34.56 kB / 255.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.002241, allocations: 12.86 kB / 255.9 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.002247, allocations: 0 / 255.9 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.002271, allocations: 42.62 kB / 255.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 4.91e-07/0.002271, allocations: 0 / 255.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 7.895e-05/0.00235, allocations: 33.7 kB / 256 MB, free: 4.805 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.002381, allocations: 55.39 kB / 256 MB, free: 4.738 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.002432, allocations: 98.72 kB / 256.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.002442, allocations: 33.7 kB / 256.1 MB, free: 4.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/0.002463, allocations: 84.14 kB / 256.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.002489, allocations: 7.938 kB / 256.2 MB, free: 4.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.002512, allocations: 17.7 kB / 256.3 MB, free: 4.473 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.002588, allocations: 318.7 kB / 256.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-06/0.002594, allocations: 4 kB / 256.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.002602, allocations: 7.938 kB / 256.6 MB, free: 4.141 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.002626, allocations: 13.31 kB / 256.6 MB, free: 4.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.002629, allocations: 0 / 256.6 MB, free: 4.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.618e-05/0.002665, allocations: 45.69 kB / 256.6 MB, free: 4.074 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.002677, allocations: 6.969 kB / 256.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.002681, allocations: 4.047 kB / 256.6 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.002692, allocations: 3.984 kB / 256.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.002808, allocations: 15.98 kB / 256.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.00281, allocations: 0 / 256.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-06/0.002819, allocations: 3.953 kB / 256.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.002822, allocations: 3.938 kB / 256.7 MB, free: 4.039 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 4.85e-05/0.002871, allocations: 117.8 kB / 256.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-06/0.002874, allocations: 0 / 256.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.59e-05/0.00289, allocations: 7.688 kB / 256.8 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.002892, allocations: 8 kB / 256.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.002893, allocations: 0 / 256.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.002896, allocations: 0 / 256.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.647e-05/0.002943, allocations: 69.83 kB / 256.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.002943, allocations: 0 / 256.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.002984, allocations: 8 kB / 256.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.00299, allocations: 7.984 kB / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.002991, allocations: 0 / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.002999, allocations: 0 / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003, allocations: 0 / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.003001, allocations: 0 / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.826e-05/0.003089, allocations: 81 kB / 257 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.003097, allocations: 0 / 257 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-06/0.003102, allocations: 0 / 257 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.003115, allocations: 3.984 kB / 257 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.003118, allocations: 4 kB / 257 MB, free: 3.688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.937e-06/0.003127, allocations: 4.859 kB / 257 MB, free: 3.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003127, allocations: 0 / 257 MB, free: 3.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.117e-05/0.003218, allocations: 4 kB / 257 MB, free: 3.676 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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 7.628e-05/0.003294, allocations: 72.42 kB / 257 MB, free: 3.598 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.277e-05/0.003367, allocations: 28.8 kB / 257.1 MB, free: 3.566 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.003372, allocations: 8 kB / 257.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.003387, allocations: 8.859 kB / 257.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.003488, allocations: 37.64 kB / 257.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.003688, allocations: 124.4 kB / 257.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.003722, allocations: 55.36 kB / 257.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.003737, allocations: 0 / 257.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.003782, allocations: 51.38 kB / 257.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.003782, allocations: 0 / 257.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of Templates: time 0.001901/0.005683, allocations: 387.1 kB / 257.7 MB, free: 2.863 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.873861295171082]