Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 246.2 MB, free: 13.55 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 196.9 kB / 301.4 MB, free: 9.059 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0454/0.0454, allocations: 8.923 MB / 365.5 MB, free: 9.188 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 87.56 kB / 489.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1156, allocations: 54.41 MB / 0.531 GB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001817/0.1174, allocations: 0.4984 MB / 0.5315 GB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.1176, allocations: 23.89 kB / 0.5315 GB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.1176, allocations: 4 kB / 0.5315 GB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.1177, allocations: 0 / 0.5315 GB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.1177, allocations: 11.92 kB / 0.5315 GB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.1179, allocations: 0 / 0.5315 GB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.1179, allocations: 19.92 kB / 0.5316 GB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.118, allocations: 0 / 0.5316 GB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.118, allocations: 7.938 kB / 0.5316 GB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.1181, allocations: 8 kB / 0.5316 GB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1181, allocations: 0 / 0.5316 GB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.1181, allocations: 0 / 0.5316 GB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.1181, allocations: 7.922 kB / 0.5316 GB, free: 14.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.1182, allocations: 11.92 kB / 0.5316 GB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.833e-05/0.1183, allocations: 7.938 kB / 0.5316 GB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1183, allocations: 4 kB / 0.5316 GB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1183, allocations: 3.938 kB / 0.5316 GB, free: 14.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1183, allocations: 0 / 0.5316 GB, free: 14.05 MB / 350.1 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.0005163/0.1188, allocations: 331.5 kB / 0.5319 GB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1188, allocations: 8.031 kB / 0.5319 GB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.1189, allocations: 0.9375 kB / 0.5319 GB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.119, allocations: 172.3 kB / 0.5321 GB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.119, allocations: 4.375 kB / 0.5321 GB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1191, allocations: 384 / 0.5321 GB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.1192, allocations: 38.27 kB / 0.5321 GB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1192, allocations: 192 / 0.5321 GB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1192, allocations: 3.938 kB / 0.5321 GB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1192, allocations: 0 / 0.5321 GB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.1192, allocations: 15.92 kB / 0.5322 GB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.1194, allocations: 161.7 kB / 0.5323 GB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.392e-05/0.1195, allocations: 30.58 kB / 0.5323 GB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.1195, allocations: 16.94 kB / 0.5324 GB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.1195, allocations: 0 / 0.5324 GB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1196, allocations: 34.56 kB / 0.5324 GB, free: 13.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.1196, allocations: 0 / 0.5324 GB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001583/0.1197, allocations: 61.55 kB / 0.5324 GB, free: 13.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1198, allocations: 51.41 kB / 0.5325 GB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.1198, allocations: 93.86 kB / 0.5326 GB, free: 12.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1198, allocations: 25.7 kB / 0.5326 GB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.1199, allocations: 88.14 kB / 0.5327 GB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1199, allocations: 11.89 kB / 0.5327 GB, free: 12.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.1199, allocations: 17.72 kB / 0.5327 GB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1201, allocations: 310.8 kB / 0.533 GB, free: 12.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.1201, allocations: 4 kB / 0.533 GB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.1201, allocations: 11.98 kB / 0.533 GB, free: 12.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.1201, allocations: 16.86 kB / 0.5331 GB, free: 12.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1201, allocations: 3.938 kB / 0.5331 GB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.434e-05/0.1202, allocations: 53.62 kB / 0.5331 GB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1202, allocations: 8 kB / 0.5331 GB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1202, allocations: 3.938 kB / 0.5331 GB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1203, allocations: 0 / 0.5331 GB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.1203, allocations: 8 kB / 0.5331 GB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1204, allocations: 0 / 0.5331 GB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.1204, allocations: 0 / 0.5331 GB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.1204, allocations: 0 / 0.5331 GB, free: 12.27 MB / 350.1 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 8.951e-05/0.1205, allocations: 125.7 kB / 0.5332 GB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.1205, allocations: 0 / 0.5332 GB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.1205, allocations: 11.44 kB / 0.5333 GB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1205, allocations: 3.938 kB / 0.5333 GB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1205, allocations: 4 kB / 0.5333 GB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1205, allocations: 0 / 0.5333 GB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1206, allocations: 157.6 kB / 0.5334 GB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1206, allocations: 0 / 0.5334 GB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.1207, allocations: 11.94 kB / 0.5334 GB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1207, allocations: 0 / 0.5334 GB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1207, allocations: 3.938 kB / 0.5334 GB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1207, allocations: 0 / 0.5334 GB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1207, allocations: 4 kB / 0.5334 GB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1209, allocations: 77.11 kB / 0.5335 GB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.1209, allocations: 81.14 kB / 0.5336 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1209, allocations: 3.938 kB / 0.5336 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/0.1209, allocations: 0 / 0.5336 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.121, allocations: 0.5625 kB / 0.5336 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.121, allocations: 0 / 0.5336 GB, free: 11.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.42e-05/0.121, allocations: 91.31 kB / 0.5337 GB, free: 11.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.121, allocations: 4 kB / 0.5337 GB, free: 11.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.1212, allocations: 4 kB / 0.5337 GB, free: 11.6 MB / 350.1 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 8.63e-05/0.1213, allocations: 99.12 kB / 0.5338 GB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.1214, allocations: 16 kB / 0.5338 GB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1214, allocations: 0 / 0.5338 GB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.1214, allocations: 7.984 kB / 0.5338 GB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1215, allocations: 4 kB / 0.5338 GB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.122, allocations: 192.1 kB / 0.534 GB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1222, allocations: 0.6805 MB / 0.5347 GB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.572e-05/0.1223, allocations: 4 kB / 0.5347 GB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.1223, allocations: 7.438 kB / 0.5347 GB, free: 10.53 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1223, allocations: 0 / 0.5347 GB, free: 10.53 MB / 350.1 MB Notification: Performance of Templates: time 0.002469/0.1248, allocations: 265.4 kB / 0.5349 GB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.861825527623296]