Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000783/0.0007827, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.448/1.448, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001103/0.001103, allocations: 171.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05198/0.05198, allocations: 8.815 MB / 350.5 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 11.08 kB / 413.8 MB, free: 42.79 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 52.56 MB / 466.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.0006355/0.1042, allocations: 226.3 kB / 466.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.1044, allocations: 15.92 kB / 466.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.1044, allocations: 0 / 466.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.1044, allocations: 0 / 466.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.526e-05/0.1045, allocations: 0 / 466.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.1046, allocations: 11.92 kB / 466.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.1046, allocations: 11.98 kB / 466.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.1047, allocations: 4 kB / 466.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.1047, allocations: 3.938 kB / 466.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.1048, allocations: 8 kB / 466.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1048, allocations: 0 / 466.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.1048, allocations: 0 / 466.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.1048, allocations: 3.938 kB / 466.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.1049, allocations: 33.69 kB / 466.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.588e-05/0.1049, allocations: 3.938 kB / 466.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.105, allocations: 0 / 466.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.105, allocations: 4 kB / 466.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.105, allocations: 0 / 466.7 MB, free: 12.84 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.0004085/0.1054, allocations: 327.5 kB / 467 MB, free: 12.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1054, allocations: 8.031 kB / 467 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1055, allocations: 0.9375 kB / 467 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1056, allocations: 172.6 kB / 467.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1056, allocations: 384 / 467.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1057, allocations: 384 / 467.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.251e-05/0.1058, allocations: 42.19 kB / 467.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1058, allocations: 4.188 kB / 467.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1058, allocations: 3.938 kB / 467.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1058, allocations: 4 kB / 467.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.034e-05/0.1059, allocations: 11.97 kB / 467.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.106, allocations: 153.6 kB / 467.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1061, allocations: 38.61 kB / 467.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.1062, allocations: 12.8 kB / 467.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.1062, allocations: 4 kB / 467.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1062, allocations: 38.64 kB / 467.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1062, allocations: 0 / 467.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.1064, allocations: 53.62 kB / 467.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.1064, allocations: 51.41 kB / 467.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.1065, allocations: 93.86 kB / 467.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1065, allocations: 25.7 kB / 467.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.1066, allocations: 84.14 kB / 467.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1066, allocations: 15.81 kB / 467.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1067, allocations: 13.7 kB / 467.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1068, allocations: 318.8 kB / 468.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.1068, allocations: 7.938 kB / 468.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.1068, allocations: 4 kB / 468.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.1069, allocations: 20.84 kB / 468.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1069, allocations: 0 / 468.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.151e-05/0.107, allocations: 45.7 kB / 468.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.107, allocations: 9.406 kB / 468.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.107, allocations: 11.92 kB / 468.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.107, allocations: 0 / 468.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.1071, allocations: 8 kB / 468.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1071, allocations: 0 / 468.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.1072, allocations: 3.938 kB / 468.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.1072, allocations: 0 / 468.2 MB, free: 11.06 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 8.898e-05/0.1073, allocations: 113.8 kB / 468.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.1073, allocations: 3.906 kB / 468.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.1073, allocations: 11.44 kB / 468.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1073, allocations: 7.984 kB / 468.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1073, allocations: 4 kB / 468.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1073, allocations: 0.5156 kB / 468.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.1075, allocations: 149.7 kB / 468.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1075, allocations: 3.984 kB / 468.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.1075, allocations: 11.94 kB / 468.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1075, allocations: 0 / 468.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1076, allocations: 7.938 kB / 468.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1076, allocations: 0 / 468.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.1076, allocations: 0 / 468.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.1077, allocations: 85.05 kB / 468.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.1078, allocations: 81.09 kB / 468.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1078, allocations: 7.969 kB / 468.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.1078, allocations: 0 / 468.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.1078, allocations: 0 / 468.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1078, allocations: 0 / 468.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.635e-05/0.1079, allocations: 79.28 kB / 468.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1079, allocations: 0 / 468.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001734/0.1081, allocations: 8.062 kB / 468.8 MB, free: 10.39 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 9.072e-05/0.1082, allocations: 95.25 kB / 468.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.182e-05/0.1082, allocations: 15.92 kB / 468.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1083, allocations: 4 kB / 468.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.1083, allocations: 11.94 kB / 468.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.1084, allocations: 1.969 kB / 468.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.1087, allocations: 120.9 kB / 469.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1091, allocations: 0.677 MB / 469.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.1091, allocations: 4 kB / 469.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1092, allocations: 7.438 kB / 469.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1092, allocations: 0 / 469.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of Templates: time 0.001989/0.1112, allocations: 233.1 kB / 470 MB, free: 9.172 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) Environment - environmentSimulation: