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.004368/0.004368, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.267/1.267, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001229/0.001229, allocations: 180.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06112/0.06112, allocations: 8.791 MB / 348.6 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 79.88 kB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08286/0.08423, allocations: 51.56 MB / 0.5034 GB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001472/0.08574, allocations: 0.4891 MB / 0.5038 GB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.08588, allocations: 19.91 kB / 0.5039 GB, free: 8.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.08592, allocations: 0 / 0.5039 GB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.08594, allocations: 0 / 0.5039 GB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.08597, allocations: 0 / 0.5039 GB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.08609, allocations: 11.92 kB / 0.5039 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.769e-05/0.08614, allocations: 4 kB / 0.5039 GB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.0862, allocations: 8 kB / 0.5039 GB, free: 8.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.766e-05/0.08622, allocations: 15.92 kB / 0.5039 GB, free: 8.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.08627, allocations: 0 / 0.5039 GB, free: 8.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.08629, allocations: 0 / 0.5039 GB, free: 8.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.0863, allocations: 0 / 0.5039 GB, free: 8.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.08632, allocations: 11.92 kB / 0.5039 GB, free: 8.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.08634, allocations: 4 kB / 0.5039 GB, free: 8.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.966e-05/0.08641, allocations: 15.86 kB / 0.5039 GB, free: 8.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.08642, allocations: 0 / 0.5039 GB, free: 8.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08642, allocations: 0 / 0.5039 GB, free: 8.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.08643, allocations: 0 / 0.5039 GB, free: 8.914 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.0003131/0.08675, allocations: 331.5 kB / 0.5043 GB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.08679, allocations: 8.031 kB / 0.5043 GB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.08682, allocations: 4.875 kB / 0.5043 GB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.08693, allocations: 168.3 kB / 0.5044 GB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.08694, allocations: 384 / 0.5044 GB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.08696, allocations: 4.312 kB / 0.5044 GB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.08705, allocations: 38.25 kB / 0.5045 GB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.08707, allocations: 192 / 0.5045 GB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.08708, allocations: 7.938 kB / 0.5045 GB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.08709, allocations: 0 / 0.5045 GB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.08713, allocations: 8 kB / 0.5045 GB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.08728, allocations: 153.7 kB / 0.5046 GB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.752e-05/0.08736, allocations: 38.55 kB / 0.5047 GB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.08739, allocations: 16.86 kB / 0.5047 GB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.08741, allocations: 4 kB / 0.5047 GB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.08744, allocations: 30.56 kB / 0.5047 GB, free: 7.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.08745, allocations: 4 kB / 0.5047 GB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000126/0.08758, allocations: 49.86 kB / 0.5048 GB, free: 7.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.08761, allocations: 51.41 kB / 0.5048 GB, free: 7.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.08769, allocations: 105.9 kB / 0.5049 GB, free: 7.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.08771, allocations: 29.64 kB / 0.5049 GB, free: 7.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.08774, allocations: 80.14 kB / 0.505 GB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.08777, allocations: 19.84 kB / 0.505 GB, free: 7.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.08781, allocations: 13.72 kB / 0.5051 GB, free: 7.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.08792, allocations: 322.8 kB / 0.5054 GB, free: 7.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.08794, allocations: 4 kB / 0.5054 GB, free: 7.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.08796, allocations: 4 kB / 0.5054 GB, free: 7.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.088, allocations: 16.86 kB / 0.5054 GB, free: 7.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.088, allocations: 0 / 0.5054 GB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.737e-05/0.08807, allocations: 49.69 kB / 0.5054 GB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.08809, allocations: 5.562 kB / 0.5054 GB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.0881, allocations: 3.938 kB / 0.5054 GB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.08812, allocations: 4 kB / 0.5054 GB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.08821, allocations: 15.92 kB / 0.5055 GB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.08822, allocations: 0 / 0.5055 GB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.08824, allocations: 4 kB / 0.5055 GB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.08825, allocations: 0 / 0.5055 GB, free: 7.125 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.512e-05/0.08832, allocations: 109.8 kB / 0.5056 GB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-06/0.08833, allocations: 4 kB / 0.5056 GB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.08835, allocations: 11.44 kB / 0.5056 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.08836, allocations: 0 / 0.5056 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.08837, allocations: 0 / 0.5056 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.08837, allocations: 0 / 0.5056 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.991e-05/0.08847, allocations: 157.7 kB / 0.5057 GB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.08848, allocations: 3.938 kB / 0.5057 GB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.08855, allocations: 11.98 kB / 0.5057 GB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.08856, allocations: 0 / 0.5057 GB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.08858, allocations: 7.938 kB / 0.5058 GB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.08858, allocations: 0 / 0.5058 GB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.08859, allocations: 0 / 0.5058 GB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.08871, allocations: 81.02 kB / 0.5058 GB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.08875, allocations: 85.11 kB / 0.5059 GB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.08877, allocations: 7.922 kB / 0.5059 GB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.516e-05/0.08879, allocations: 0 / 0.5059 GB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.0888, allocations: 4.031 kB / 0.5059 GB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.08881, allocations: 0 / 0.5059 GB, free: 6.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.163e-05/0.08886, allocations: 83.59 kB / 0.506 GB, free: 6.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08886, allocations: 0 / 0.506 GB, free: 6.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.08905, allocations: 4 kB / 0.506 GB, free: 6.465 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 7.182e-05/0.08912, allocations: 95.25 kB / 0.5061 GB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.709e-05/0.08921, allocations: 16.12 kB / 0.5061 GB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.08922, allocations: 4 kB / 0.5061 GB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.757e-05/0.08924, allocations: 16.02 kB / 0.5061 GB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.08938, allocations: 0 / 0.5061 GB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.08959, allocations: 109.5 kB / 0.5062 GB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.08983, allocations: 0.6805 MB / 0.5069 GB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.08986, allocations: 4 kB / 0.5069 GB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.08988, allocations: 11.44 kB / 0.5069 GB, free: 5.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.08989, allocations: 0 / 0.5069 GB, free: 5.469 MB / 350.1 MB Notification: Performance of Templates: time 0.001838/0.09173, allocations: 249.1 kB / 0.5072 GB, free: 5.227 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)