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.001321/0.001321, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.332/1.332, allocations: 222.9 MB / 240.1 MB, free: 4.336 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.001407/0.001407, allocations: 188.5 kB / 290.4 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05336/0.05336, allocations: 8.804 MB / 349.3 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 79.81 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1029, allocations: 51.56 MB / 0.504 GB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001813/0.1047, allocations: 0.4954 MB / 0.5045 GB, free: 8.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.1049, allocations: 19.97 kB / 0.5045 GB, free: 8.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.1049, allocations: 0 / 0.5045 GB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.105, allocations: 3.938 kB / 0.5045 GB, free: 8.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.75e-05/0.105, allocations: 4 kB / 0.5045 GB, free: 8.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.1051, allocations: 3.984 kB / 0.5045 GB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.1052, allocations: 11.94 kB / 0.5046 GB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.1053, allocations: 11.97 kB / 0.5046 GB, free: 8.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.1053, allocations: 3.938 kB / 0.5046 GB, free: 8.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.1053, allocations: 4 kB / 0.5046 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1054, allocations: 0 / 0.5046 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.1054, allocations: 0 / 0.5046 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.1054, allocations: 7.938 kB / 0.5046 GB, free: 8.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.1054, allocations: 4 kB / 0.5046 GB, free: 8.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.715e-05/0.1055, allocations: 7.922 kB / 0.5046 GB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1055, allocations: 4 kB / 0.5046 GB, free: 8.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1055, allocations: 0 / 0.5046 GB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1055, allocations: 0 / 0.5046 GB, free: 8.898 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.0003399/0.1059, allocations: 327.5 kB / 0.5049 GB, free: 8.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1059, allocations: 12.03 kB / 0.5049 GB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1059, allocations: 0.9375 kB / 0.5049 GB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1061, allocations: 160.4 kB / 0.5051 GB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1061, allocations: 4.375 kB / 0.5051 GB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1061, allocations: 384 / 0.5051 GB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.188e-05/0.1062, allocations: 42.25 kB / 0.5051 GB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1062, allocations: 192 / 0.5051 GB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1062, allocations: 3.938 kB / 0.5051 GB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1062, allocations: 0 / 0.5051 GB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.1063, allocations: 7.938 kB / 0.5051 GB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1064, allocations: 157.7 kB / 0.5053 GB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.1065, allocations: 42.61 kB / 0.5053 GB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.1066, allocations: 12.86 kB / 0.5053 GB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1066, allocations: 0 / 0.5053 GB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1066, allocations: 34.56 kB / 0.5054 GB, free: 7.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1066, allocations: 0 / 0.5054 GB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001496/0.1068, allocations: 61.66 kB / 0.5054 GB, free: 7.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1068, allocations: 51.41 kB / 0.5055 GB, free: 7.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.1069, allocations: 97.84 kB / 0.5056 GB, free: 7.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1069, allocations: 25.7 kB / 0.5056 GB, free: 7.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.1069, allocations: 88.14 kB / 0.5057 GB, free: 7.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.107, allocations: 15.69 kB / 0.5057 GB, free: 7.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.107, allocations: 25.64 kB / 0.5057 GB, free: 7.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.1071, allocations: 314.8 kB / 0.506 GB, free: 7.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.1071, allocations: 0 / 0.506 GB, free: 7.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.305e-05/0.1072, allocations: 8 kB / 0.506 GB, free: 7.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.1072, allocations: 25.25 kB / 0.5061 GB, free: 7.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1072, allocations: 0 / 0.5061 GB, free: 7.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.097e-05/0.1073, allocations: 53.69 kB / 0.5061 GB, free: 7.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1073, allocations: 4 kB / 0.5061 GB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1073, allocations: 3.938 kB / 0.5061 GB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1073, allocations: 3.984 kB / 0.5061 GB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.1074, allocations: 8 kB / 0.5061 GB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1074, allocations: 0 / 0.5061 GB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.1075, allocations: 0 / 0.5061 GB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1075, allocations: 4 kB / 0.5061 GB, free: 7.109 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 6.5e-05/0.1075, allocations: 113.8 kB / 0.5062 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.1076, allocations: 7.906 kB / 0.5062 GB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.1076, allocations: 7.438 kB / 0.5063 GB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1076, allocations: 4 kB / 0.5063 GB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1076, allocations: 7.922 kB / 0.5063 GB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1076, allocations: 0 / 0.5063 GB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/0.1077, allocations: 153.7 kB / 0.5064 GB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1077, allocations: 0 / 0.5064 GB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.1078, allocations: 11.98 kB / 0.5064 GB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1078, allocations: 0 / 0.5064 GB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1078, allocations: 3.938 kB / 0.5064 GB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1078, allocations: 0 / 0.5064 GB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1078, allocations: 4 kB / 0.5064 GB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1079, allocations: 73.12 kB / 0.5065 GB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.108, allocations: 85.12 kB / 0.5066 GB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.108, allocations: 3.938 kB / 0.5066 GB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.108, allocations: 0 / 0.5066 GB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.108, allocations: 0 / 0.5066 GB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.108, allocations: 4 kB / 0.5066 GB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.1081, allocations: 87.28 kB / 0.5067 GB, free: 6.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1081, allocations: 0 / 0.5067 GB, free: 6.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001765/0.1083, allocations: 7.938 kB / 0.5067 GB, free: 6.445 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.18e-05/0.1083, allocations: 91.25 kB / 0.5068 GB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.038e-05/0.1084, allocations: 19.98 kB / 0.5068 GB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1085, allocations: 0 / 0.5068 GB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.1085, allocations: 4 kB / 0.5068 GB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.1086, allocations: 7.938 kB / 0.5068 GB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.1089, allocations: 151.3 kB / 0.5069 GB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1091, allocations: 0.6766 MB / 0.5076 GB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.1091, allocations: 7.438 kB / 0.5076 GB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1091, allocations: 0 / 0.5076 GB, free: 5.422 MB / 350.1 MB Notification: Performance of Templates: time 0.001679/0.1108, allocations: 484.2 kB / 0.5081 GB, free: 4.945 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (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)