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.001511/0.001511, allocations: 88.72 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.652/1.652, allocations: 177.1 MB / 199.7 MB, free: 5.801 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.001846/0.001846, allocations: 168.5 kB / 256.3 MB, free: 13.16 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.03722/0.03722, 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.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.745e-06/2.745e-06, allocations: 0 / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.926e-05/4.201e-05, allocations: 6.25 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.00388/0.003922, allocations: 1.788 MB / 392.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.005036, allocations: 466.7 kB / 393.2 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.005149, allocations: 8 kB / 393.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.005304, allocations: 23.78 kB / 393.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.005405, allocations: 31.7 kB / 393.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.005573, allocations: 23.97 kB / 393.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.00581, allocations: 127.4 kB / 393.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.005963, allocations: 29.3 kB / 393.4 MB, free: 480 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.006101, allocations: 75.75 kB / 393.5 MB, free: 404 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.006199, allocations: 31.89 kB / 393.5 MB, free: 372 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.006236, allocations: 12 kB / 393.5 MB, free: 360 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.62e-05/0.006262, allocations: 16 kB / 393.5 MB, free: 344 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.006299, allocations: 23.91 kB / 393.5 MB, free: 320 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/0.00637, allocations: 39.86 kB / 393.6 MB, free: 280 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.006618, allocations: 123.6 kB / 393.7 MB, free: 156 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.006623, allocations: 0 / 393.7 MB, free: 156 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.006625, allocations: 0 / 393.7 MB, free: 156 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.006631, allocations: 0 / 393.7 MB, free: 156 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.0007356/0.007366, allocations: 341.8 kB / 394 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.007416, allocations: 8.031 kB / 394 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.007497, allocations: 20.89 kB / 394.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.007789, allocations: 137.6 kB / 394.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.007809, allocations: 8.375 kB / 394.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.007854, allocations: 12.38 kB / 394.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.008134, allocations: 131.9 kB / 394.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.008147, allocations: 4.188 kB / 394.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.008167, allocations: 4.375 kB / 394.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.008179, allocations: 7.938 kB / 394.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.008321, allocations: 59.91 kB / 394.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.009637, allocations: 422.4 kB / 394.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.009782, allocations: 46.56 kB / 394.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.009828, allocations: 16.84 kB / 394.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.009842, allocations: 4 kB / 394.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.009889, allocations: 38.44 kB / 394.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.009891, allocations: 0 / 394.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002439/0.01013, allocations: 61.78 kB / 395 MB, free: 14.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.01019, allocations: 51.41 kB / 395.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.01036, allocations: 134 kB / 395.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.01038, allocations: 29.7 kB / 395.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01049, allocations: 115.9 kB / 395.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.01052, allocations: 23.84 kB / 395.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.01058, allocations: 17.72 kB / 395.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.0108, allocations: 322.8 kB / 395.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.01083, allocations: 8 kB / 395.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.01089, allocations: 38.5 kB / 395.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.01098, allocations: 46.52 kB / 395.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01098, allocations: 4 kB / 395.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001586/0.01114, allocations: 81.62 kB / 395.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.01116, allocations: 7.938 kB / 395.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01117, allocations: 0 / 395.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.0112, allocations: 4 kB / 395.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01132, allocations: 15.94 kB / 395.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.01133, allocations: 3.984 kB / 395.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.01139, allocations: 11.89 kB / 395.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.0114, allocations: 0 / 395.9 MB, free: 13.75 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.0001378/0.01153, allocations: 121.9 kB / 396 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.01157, allocations: 11.89 kB / 396 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.0116, allocations: 8 kB / 396 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01161, allocations: 0 / 396 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01161, allocations: 0 / 396 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01161, allocations: 0 / 396 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.01183, allocations: 129.3 kB / 396.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01183, allocations: 0 / 396.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.495e-05/0.01192, allocations: 15.98 kB / 396.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.01192, allocations: 8 kB / 396.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01193, allocations: 3.938 kB / 396.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01194, allocations: 4 kB / 396.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01194, allocations: 0 / 396.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.01219, allocations: 159.5 kB / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.01221, allocations: 12.02 kB / 396.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.01223, allocations: 3.938 kB / 396.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.01233, allocations: 4 kB / 396.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.01234, allocations: 0 / 396.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.01235, allocations: 4 kB / 396.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.898e-05/0.01245, allocations: 99.27 kB / 396.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01245, allocations: 0 / 396.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.01272, allocations: 27.95 kB / 396.5 MB, free: 13.09 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.000143/0.01286, allocations: 99.17 kB / 396.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01299, allocations: 28 kB / 396.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.013, allocations: 0 / 396.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.01302, allocations: 19.92 kB / 396.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01332, allocations: 15.92 kB / 396.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.01397, allocations: 248.3 kB / 396.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.01408, allocations: 84.31 kB / 397 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.497e-05/0.01412, allocations: 11.86 kB / 397 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.01416, allocations: 8.5 kB / 397 MB, free: 12.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01416, allocations: 0 / 397 MB, free: 12.53 MB / 330.7 MB Notification: Performance of Templates: time 0.003763/0.01792, allocations: 0.6304 MB / 397.6 MB, free: 11.91 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.442908089025877]