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.0009673/0.0009674, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.284/1.284, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001591/0.001591, allocations: 184.5 kB / 289.1 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03223/0.03223, allocations: 8.788 MB / 348.1 MB, free: 4.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 74.33 kB / 410.4 MB, free: 42.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09249, allocations: 51.56 MB / 461.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001637/0.09417, allocations: 0.5675 MB / 462.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001095/0.09429, allocations: 27.89 kB / 462.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.09431, allocations: 0 / 462.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.09434, allocations: 0 / 462.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.09438, allocations: 0 / 462.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.913e-05/0.09448, allocations: 8 kB / 462.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.09454, allocations: 19.81 kB / 462.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.09459, allocations: 4 kB / 462.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.09461, allocations: 7.984 kB / 462.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.09466, allocations: 3.984 kB / 462.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.09468, allocations: 4 kB / 462.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.09469, allocations: 4 kB / 462.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.09471, allocations: 7.938 kB / 462.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.09473, allocations: 4 kB / 462.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.391e-05/0.09478, allocations: 11.92 kB / 462.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.09479, allocations: 0 / 462.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0948, allocations: 0 / 462.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.0948, allocations: 0 / 462.6 MB, free: 14.25 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.0002926/0.0951, allocations: 323.8 kB / 462.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.09514, allocations: 8.031 kB / 462.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.09517, allocations: 4.938 kB / 462.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.09529, allocations: 172.3 kB / 463.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.09531, allocations: 384 / 463.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.09533, allocations: 4.375 kB / 463.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.326e-05/0.09542, allocations: 38.25 kB / 463.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.09543, allocations: 192 / 463.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.09545, allocations: 3.938 kB / 463.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.09546, allocations: 3.938 kB / 463.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.09549, allocations: 7.938 kB / 463.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.09565, allocations: 153.7 kB / 463.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.196e-05/0.09572, allocations: 42.61 kB / 463.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.09575, allocations: 12.86 kB / 463.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.09576, allocations: 0 / 463.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.09578, allocations: 34.56 kB / 463.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.09579, allocations: 0 / 463.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001206/0.09591, allocations: 57.56 kB / 463.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.09595, allocations: 59.34 kB / 463.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.09602, allocations: 97.84 kB / 463.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.09603, allocations: 29.7 kB / 463.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.09607, allocations: 84.14 kB / 463.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.09609, allocations: 3.906 kB / 463.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.09613, allocations: 21.7 kB / 463.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.09621, allocations: 310.8 kB / 464.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.09623, allocations: 4 kB / 464.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.09625, allocations: 12 kB / 464.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.09629, allocations: 25.25 kB / 464.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.0963, allocations: 0 / 464.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.161e-05/0.09636, allocations: 41.7 kB / 464.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.09638, allocations: 8 kB / 464.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.09639, allocations: 3.984 kB / 464.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.09641, allocations: 3.984 kB / 464.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.09649, allocations: 11.98 kB / 464.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.0965, allocations: 0 / 464.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.09652, allocations: 3.906 kB / 464.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.09653, allocations: 4 kB / 464.2 MB, free: 12.46 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 5.974e-05/0.09659, allocations: 117.8 kB / 464.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.09661, allocations: 0 / 464.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.09663, allocations: 7.438 kB / 464.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.09663, allocations: 3.938 kB / 464.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.09664, allocations: 0 / 464.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.09665, allocations: 3.984 kB / 464.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.09674, allocations: 161.7 kB / 464.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.09675, allocations: 0 / 464.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.09681, allocations: 11.98 kB / 464.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.09682, allocations: 4 kB / 464.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.09683, allocations: 3.938 kB / 464.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.09684, allocations: 0 / 464.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.09684, allocations: 0 / 464.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.09695, allocations: 73.12 kB / 464.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.09699, allocations: 84.98 kB / 464.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.09701, allocations: 11.95 kB / 464.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.09703, allocations: 4.062 kB / 464.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.09705, allocations: 3.938 kB / 464.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.09706, allocations: 0 / 464.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.143e-05/0.09709, allocations: 87.22 kB / 464.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0971, allocations: 0 / 464.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001641/0.09727, allocations: 4 kB / 464.7 MB, free: 11.79 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 6.781e-05/0.09734, allocations: 91.25 kB / 464.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.708e-05/0.09741, allocations: 19.98 kB / 464.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.09742, allocations: 4 kB / 464.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.09744, allocations: 4 kB / 464.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.09757, allocations: 4 kB / 464.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.09792, allocations: 186.6 kB / 465 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.09817, allocations: 0.677 MB / 465.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.09819, allocations: 4 kB / 465.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.09821, allocations: 7.438 kB / 465.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09822, allocations: 0 / 465.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Templates: time 0.001761/0.09998, allocations: 245.1 kB / 466 MB, free: 10.5 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile (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)