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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.53 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 239.4 MB, free: 5.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 191.3 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03302/0.03302, allocations: 8.802 MB / 350.5 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004774, allocations: 9.656 kB / 413.8 MB, free: 42.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.104, allocations: 52.56 MB / 466.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.0007174/0.1048, allocations: 238.2 kB / 466.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.1049, allocations: 23.94 kB / 466.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.105, allocations: 0 / 466.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.105, allocations: 7.938 kB / 466.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.105, allocations: 0 / 466.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.1052, allocations: 0 / 466.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.1052, allocations: 23.92 kB / 466.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.1053, allocations: 0 / 466.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.1053, allocations: 7.938 kB / 466.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.1054, allocations: 7.984 kB / 466.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1054, allocations: 0 / 466.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-06/0.1054, allocations: 0 / 466.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.1054, allocations: 4 kB / 466.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.1055, allocations: 37.62 kB / 466.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.103e-05/0.1056, allocations: 7.938 kB / 466.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1056, allocations: 3.938 kB / 466.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1056, allocations: 0 / 466.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1056, allocations: 4 kB / 466.7 MB, free: 12.8 MB / 302.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.0003904/0.106, allocations: 331.7 kB / 467.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.106, allocations: 8.031 kB / 467.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1061, allocations: 4.875 kB / 467.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1062, allocations: 168.4 kB / 467.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1063, allocations: 384 / 467.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1063, allocations: 384 / 467.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1064, allocations: 34.27 kB / 467.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1064, allocations: 4.188 kB / 467.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1064, allocations: 7.938 kB / 467.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1064, allocations: 0 / 467.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.1065, allocations: 7.984 kB / 467.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.1067, allocations: 161.7 kB / 467.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.1068, allocations: 34.56 kB / 467.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.1068, allocations: 16.94 kB / 467.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.1069, allocations: 8 kB / 467.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1069, allocations: 30.56 kB / 467.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1069, allocations: 0 / 467.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001733/0.1071, allocations: 53.56 kB / 467.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1071, allocations: 51.41 kB / 467.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.1072, allocations: 97.86 kB / 467.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1073, allocations: 25.7 kB / 467.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.1073, allocations: 88.12 kB / 467.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1073, allocations: 15.81 kB / 467.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1074, allocations: 9.719 kB / 467.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1075, allocations: 310.8 kB / 468.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.1075, allocations: 8 kB / 468.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.1076, allocations: 7.984 kB / 468.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/0.1076, allocations: 16.86 kB / 468.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1076, allocations: 3.938 kB / 468.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.413e-05/0.1077, allocations: 53.62 kB / 468.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1077, allocations: 4 kB / 468.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1077, allocations: 7.938 kB / 468.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1078, allocations: 0 / 468.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.1079, allocations: 8 kB / 468.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1079, allocations: 0 / 468.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.1079, allocations: 4 kB / 468.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1079, allocations: 0 / 468.3 MB, free: 11.02 MB / 302.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 9.393e-05/0.108, allocations: 121.7 kB / 468.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.108, allocations: 3.906 kB / 468.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.1081, allocations: 11.44 kB / 468.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1081, allocations: 8 kB / 468.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1081, allocations: 0 / 468.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1081, allocations: 0 / 468.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.1082, allocations: 149.7 kB / 468.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1082, allocations: 3.938 kB / 468.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.1083, allocations: 8 kB / 468.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1083, allocations: 3.938 kB / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1083, allocations: 3.938 kB / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1083, allocations: 0 / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1083, allocations: 0 / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1085, allocations: 81.62 kB / 468.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.1085, allocations: 81.14 kB / 468.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1085, allocations: 7.984 kB / 468.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.1086, allocations: 3.984 kB / 468.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.1086, allocations: 0 / 468.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1086, allocations: 0 / 468.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.1086, allocations: 83.27 kB / 468.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1086, allocations: 0 / 468.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001736/0.1088, allocations: 8.062 kB / 468.8 MB, free: 10.35 MB / 302.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 7.707e-05/0.1089, allocations: 91.25 kB / 468.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.109, allocations: 19.94 kB / 469 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.109, allocations: 0 / 469 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.109, allocations: 7.984 kB / 469 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.1092, allocations: 9.562 kB / 469 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.1096, allocations: 216.8 kB / 469.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1099, allocations: 0.677 MB / 469.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.666e-05/0.1099, allocations: 0 / 469.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.11, allocations: 11.44 kB / 469.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.11, allocations: 0 / 469.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of Templates: time 0.002424/0.1124, allocations: 241.1 kB / 470.1 MB, free: 9.027 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: