Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.001523/0.001523, allocations: 84.73 kB / 19.44 MB, free: 356 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 1.663/1.663, allocations: 177.1 MB / 199.7 MB, free: 5.824 MB / 186.7 MB " [Timeout remaining time 178] 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.001918/0.001918, allocations: 164.2 kB / 256.3 MB, free: 13.18 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.03697/0.03697, allocations: 6.649 MB / 319.4 MB, free: 26.57 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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.929e-05/4.128e-05, allocations: 6.25 kB / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003698/0.003739, allocations: 1.773 MB / 392.7 MB, free: 1.195 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.004856, allocations: 470.7 kB / 393.1 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.00497, allocations: 4 kB / 393.1 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.005114, allocations: 15.8 kB / 393.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.00522, allocations: 35.7 kB / 393.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.00539, allocations: 31.95 kB / 393.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.005611, allocations: 123.4 kB / 393.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.005774, allocations: 29.28 kB / 393.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.005909, allocations: 75.75 kB / 393.4 MB, free: 432 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.00601, allocations: 35.89 kB / 393.5 MB, free: 396 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.006043, allocations: 12 kB / 393.5 MB, free: 384 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.605e-05/0.006069, allocations: 8 kB / 393.5 MB, free: 376 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.006106, allocations: 19.92 kB / 393.5 MB, free: 356 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.006185, allocations: 47.84 kB / 393.6 MB, free: 308 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.006416, allocations: 123.6 kB / 393.7 MB, free: 184 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.006422, allocations: 4 kB / 393.7 MB, free: 180 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.006424, allocations: 0 / 393.7 MB, free: 180 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.006429, allocations: 0 / 393.7 MB, free: 180 kB / 314.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.0007188/0.007148, allocations: 333.9 kB / 394 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.007194, allocations: 8.031 kB / 394 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.007273, allocations: 20.89 kB / 394 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.007532, allocations: 145.5 kB / 394.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.007561, allocations: 8.375 kB / 394.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.007602, allocations: 12.38 kB / 394.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.007863, allocations: 131.9 kB / 394.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.007873, allocations: 192 / 394.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.00789, allocations: 4.375 kB / 394.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.007901, allocations: 7.938 kB / 394.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.008036, allocations: 67.91 kB / 394.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.008905, allocations: 414.4 kB / 394.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.009029, allocations: 46.56 kB / 394.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.009073, allocations: 24.94 kB / 394.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.009082, allocations: 0 / 394.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.009127, allocations: 42.44 kB / 394.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.009128, allocations: 0 / 394.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002294/0.009357, allocations: 57.69 kB / 395 MB, free: 14.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.009408, allocations: 51.41 kB / 395 MB, free: 14.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.009578, allocations: 134 kB / 395.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.009602, allocations: 29.7 kB / 395.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.009703, allocations: 115.9 kB / 395.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.009725, allocations: 15.86 kB / 395.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.009774, allocations: 25.7 kB / 395.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.009957, allocations: 318.8 kB / 395.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.009989, allocations: 11.98 kB / 395.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.01005, allocations: 38.52 kB / 395.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/0.01013, allocations: 46.56 kB / 395.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01013, allocations: 0 / 395.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001442/0.01028, allocations: 81.56 kB / 395.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.0103, allocations: 7.938 kB / 395.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.0103, allocations: 4.062 kB / 395.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.01033, allocations: 4 kB / 395.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.01045, allocations: 15.94 kB / 395.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01046, allocations: 0 / 395.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.01051, allocations: 15.89 kB / 395.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.01052, allocations: 0 / 395.9 MB, free: 13.77 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 0.0001114/0.01063, allocations: 113.8 kB / 396 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.01067, allocations: 15.88 kB / 396 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.01071, allocations: 12 kB / 396 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01071, allocations: 0 / 396 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01071, allocations: 4 kB / 396 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.01072, allocations: 0 / 396 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.01092, allocations: 133.3 kB / 396.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01093, allocations: 0 / 396.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.011, allocations: 11.94 kB / 396.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01101, allocations: 4 kB / 396.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01102, allocations: 11.98 kB / 396.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01102, allocations: 0 / 396.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01103, allocations: 0 / 396.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.01126, allocations: 159.5 kB / 396.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.01128, allocations: 4.031 kB / 396.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.01129, allocations: 8 kB / 396.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.01139, allocations: 7.984 kB / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.0114, allocations: 0 / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01141, allocations: 4.234 kB / 396.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.0115, allocations: 102.8 kB / 396.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0115, allocations: 0 / 396.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.01177, allocations: 27.89 kB / 396.5 MB, free: 13.11 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 0.0001289/0.0119, allocations: 95.19 kB / 396.6 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.01202, allocations: 35.98 kB / 396.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01202, allocations: 0 / 396.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.01205, allocations: 15.92 kB / 396.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01235, allocations: 11.98 kB / 396.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000881/0.01323, allocations: 248 kB / 396.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01334, allocations: 88.25 kB / 397 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.056e-05/0.01338, allocations: 7.859 kB / 397 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.01341, allocations: 8.5 kB / 397 MB, free: 12.55 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01341, allocations: 0 / 397 MB, free: 12.55 MB / 330.7 MB Notification: Performance of Templates: time 0.003732/0.01715, allocations: 0.6225 MB / 397.6 MB, free: 11.94 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.517653441987932]