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.0007907/0.0007907, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002056, 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 0.9999/0.9999, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2115/1.211, allocations: 53.64 MB / 242 MB, free: 2.625 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.001003/0.001003, allocations: 156 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002544, allocations: 477.2 kB / 243.4 MB, free: 1.285 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.02654/0.02654, allocations: 6.655 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01859/0.04512, allocations: 2.668 MB / 253.5 MB, free: 7.41 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.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 2.715e-06/2.715e-06, allocations: 0 / 254.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.25e-05, allocations: 2.312 kB / 254.8 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003128/0.003161, allocations: 1.919 MB / 256.7 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007029/0.01019, allocations: 0.4908 MB / 257.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.01033, allocations: 0 / 257.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.01044, allocations: 23.73 kB / 257.2 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.476e-05/0.01053, allocations: 31.7 kB / 257.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.01065, allocations: 23.97 kB / 257.2 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.01084, allocations: 127.4 kB / 257.4 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.01096, allocations: 29.95 kB / 257.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.01109, allocations: 87.75 kB / 257.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.459e-05/0.01119, allocations: 39.89 kB / 257.5 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.01121, allocations: 8 kB / 257.5 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.519e-05/0.01124, allocations: 12 kB / 257.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.01127, allocations: 15.94 kB / 257.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.01132, allocations: 39.94 kB / 257.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.01149, allocations: 79.62 kB / 257.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.0115, allocations: 0 / 257.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01151, allocations: 0 / 257.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.01152, allocations: 0 / 257.7 MB, free: 3.18 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005158/0.01203, allocations: 336.1 kB / 258 MB, free: 2.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.01208, allocations: 12.03 kB / 258 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.01213, allocations: 24.91 kB / 258 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.01535, allocations: 125.6 kB / 258.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.01536, allocations: 8.375 kB / 258.2 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.0154, allocations: 12.36 kB / 258.2 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.01556, allocations: 101.9 kB / 258.3 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01557, allocations: 192 / 258.3 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.01558, allocations: 8.375 kB / 258.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.01559, allocations: 3.938 kB / 258.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.01565, allocations: 31.86 kB / 258.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.01619, allocations: 342.3 kB / 258.7 MB, free: 2.113 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.01627, allocations: 30.56 kB / 258.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.01629, allocations: 20.84 kB / 258.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.0163, allocations: 3.938 kB / 258.7 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.01632, allocations: 30.56 kB / 258.7 MB, free: 2.008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.01632, allocations: 4 kB / 258.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.00013/0.01645, allocations: 49.72 kB / 258.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.01649, allocations: 59.39 kB / 258.8 MB, free: 1.879 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.01658, allocations: 118.7 kB / 259 MB, free: 1.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.01659, allocations: 29.7 kB / 259 MB, free: 1.715 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.01666, allocations: 119.8 kB / 259.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.01667, allocations: 15.89 kB / 259.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.01672, allocations: 25.7 kB / 259.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.01681, allocations: 318.8 kB / 259.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.01683, allocations: 15.94 kB / 259.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.01685, allocations: 18.58 kB / 259.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.0169, allocations: 38.56 kB / 259.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01691, allocations: 0 / 259.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.059e-05/0.017, allocations: 69.55 kB / 259.6 MB, free: 1.062 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01701, allocations: 6.656 kB / 259.6 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01702, allocations: 3.938 kB / 259.6 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01704, allocations: 7.938 kB / 259.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.01721, allocations: 19.98 kB / 259.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01721, allocations: 0 / 259.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.01725, allocations: 11.95 kB / 259.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.01725, allocations: 4 kB / 259.7 MB, free: 1.012 MB / 250.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 7.889e-05/0.01733, allocations: 113.8 kB / 259.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.01736, allocations: 7.984 kB / 259.8 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.01739, allocations: 15.94 kB / 259.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01739, allocations: 0 / 259.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01739, allocations: 0 / 259.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01739, allocations: 0 / 259.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.01753, allocations: 82.06 kB / 259.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01753, allocations: 0 / 259.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.01761, allocations: 19.92 kB / 259.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01762, allocations: 11.94 kB / 259.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01763, allocations: 0 / 259.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01763, allocations: 3.938 kB / 259.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01764, allocations: 0 / 259.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01764, allocations: 4 kB / 259.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.01778, allocations: 151.6 kB / 260.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01779, allocations: 4 kB / 260.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.01786, allocations: 0 / 260.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.01787, allocations: 11.92 kB / 260.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.01788, allocations: 4.031 kB / 260.1 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.287e-05/0.01791, allocations: 26.84 kB / 260.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01791, allocations: 0 / 260.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003213/0.02113, allocations: 23.89 kB / 260.1 MB, free: 0.4961 MB / 250.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 0.0001097/0.02124, allocations: 76.36 kB / 260.2 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.04e-05/0.02133, allocations: 32.78 kB / 260.2 MB, free: 384 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.02134, allocations: 4 kB / 260.2 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.02136, allocations: 12.86 kB / 260.2 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.0216, allocations: 105.3 kB / 260.3 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.02314, allocations: 259.7 kB / 260.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.02346, allocations: 63.34 kB / 260.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.118e-05/0.0235, allocations: 3.984 kB / 260.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.02357, allocations: 63.38 kB / 260.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02357, allocations: 3.938 kB / 260.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Templates: time 0.003761/0.02733, allocations: 0.7218 MB / 261.5 MB, free: 15.1 MB / 266.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: 2.8404116528108716]