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.004988/0.004988, allocations: 103.5 kB / 15.74 MB, free: 6.039 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.373/1.373, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001487/0.001487, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06101/0.06101, allocations: 8.788 MB / 348.7 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 75.88 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09528, allocations: 51.56 MB / 0.5034 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001503/0.09682, allocations: 0.493 MB / 0.5039 GB, free: 9.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000131/0.09697, allocations: 19.89 kB / 0.5039 GB, free: 9.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.09701, allocations: 0 / 0.5039 GB, free: 9.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.09703, allocations: 0 / 0.5039 GB, free: 9.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.52e-05/0.09706, allocations: 3.938 kB / 0.5039 GB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.09721, allocations: 12 kB / 0.5039 GB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.838e-05/0.09727, allocations: 4 kB / 0.5039 GB, free: 8.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.09733, allocations: 7.984 kB / 0.5039 GB, free: 8.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.09736, allocations: 7.938 kB / 0.5039 GB, free: 8.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.09741, allocations: 4 kB / 0.5039 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.09743, allocations: 0 / 0.5039 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.09744, allocations: 4 kB / 0.5039 GB, free: 8.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.09746, allocations: 3.938 kB / 0.5039 GB, free: 8.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.09748, allocations: 3.984 kB / 0.5039 GB, free: 8.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.06e-05/0.09754, allocations: 11.92 kB / 0.5039 GB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.09755, allocations: 4 kB / 0.5039 GB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09756, allocations: 3.938 kB / 0.5039 GB, free: 8.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09757, allocations: 0 / 0.5039 GB, free: 8.941 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.0003343/0.0979, allocations: 327.5 kB / 0.5043 GB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.09795, allocations: 8.031 kB / 0.5043 GB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.09798, allocations: 4.938 kB / 0.5043 GB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.09809, allocations: 160.4 kB / 0.5044 GB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.0981, allocations: 384 / 0.5044 GB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.09813, allocations: 8.375 kB / 0.5044 GB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.202e-05/0.09822, allocations: 38.25 kB / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.09823, allocations: 192 / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.09825, allocations: 3.938 kB / 0.5045 GB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.09826, allocations: 0 / 0.5045 GB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.415e-05/0.09829, allocations: 11.98 kB / 0.5045 GB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.09846, allocations: 153.6 kB / 0.5046 GB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.09853, allocations: 38.59 kB / 0.5047 GB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.09857, allocations: 20.86 kB / 0.5047 GB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.09858, allocations: 0 / 0.5047 GB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.09861, allocations: 34.64 kB / 0.5047 GB, free: 7.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.09861, allocations: 0 / 0.5047 GB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001327/0.09875, allocations: 53.52 kB / 0.5048 GB, free: 7.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.0988, allocations: 55.39 kB / 0.5048 GB, free: 7.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.09887, allocations: 97.86 kB / 0.5049 GB, free: 7.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.09889, allocations: 33.64 kB / 0.5049 GB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.09893, allocations: 84.14 kB / 0.505 GB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.09896, allocations: 11.75 kB / 0.505 GB, free: 7.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.099, allocations: 21.7 kB / 0.5051 GB, free: 7.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.0991, allocations: 310.8 kB / 0.5054 GB, free: 7.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.09912, allocations: 8 kB / 0.5054 GB, free: 7.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.09914, allocations: 4 kB / 0.5054 GB, free: 7.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.09918, allocations: 20.84 kB / 0.5054 GB, free: 7.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09919, allocations: 0 / 0.5054 GB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.84e-05/0.09926, allocations: 49.64 kB / 0.5054 GB, free: 7.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.09929, allocations: 11.98 kB / 0.5054 GB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.0993, allocations: 3.938 kB / 0.5054 GB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.09932, allocations: 0 / 0.5054 GB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.0994, allocations: 8 kB / 0.5055 GB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.09942, allocations: 0 / 0.5055 GB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.09943, allocations: 0 / 0.5055 GB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.09944, allocations: 4 kB / 0.5055 GB, free: 7.16 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.696e-05/0.09952, allocations: 113.8 kB / 0.5056 GB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-06/0.09953, allocations: 7.906 kB / 0.5056 GB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.09956, allocations: 11.42 kB / 0.5056 GB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.09956, allocations: 0 / 0.5056 GB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.09957, allocations: 4 kB / 0.5056 GB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.09958, allocations: 0 / 0.5056 GB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.368e-05/0.09968, allocations: 157.7 kB / 0.5057 GB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.09969, allocations: 0 / 0.5057 GB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.09976, allocations: 4.516 kB / 0.5057 GB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.09977, allocations: 4 kB / 0.5057 GB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.09978, allocations: 7.875 kB / 0.5058 GB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.09979, allocations: 0 / 0.5058 GB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.09979, allocations: 4 kB / 0.5058 GB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.09991, allocations: 77.11 kB / 0.5058 GB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.09995, allocations: 81.09 kB / 0.5059 GB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.09997, allocations: 7.969 kB / 0.5059 GB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.1, allocations: 4 kB / 0.5059 GB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.1, allocations: 0 / 0.5059 GB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1, allocations: 0 / 0.5059 GB, free: 6.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.213e-05/0.1001, allocations: 87.28 kB / 0.506 GB, free: 6.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1001, allocations: 0 / 0.506 GB, free: 6.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001763/0.1002, allocations: 4 kB / 0.506 GB, free: 6.496 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.989e-05/0.1003, allocations: 99.17 kB / 0.5061 GB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.1004, allocations: 15.94 kB / 0.5061 GB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1004, allocations: 0 / 0.5061 GB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.1004, allocations: 8 kB / 0.5061 GB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1006, allocations: 7.984 kB / 0.5061 GB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.1009, allocations: 113.8 kB / 0.5062 GB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.1011, allocations: 0.6766 MB / 0.5069 GB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.1011, allocations: 3.984 kB / 0.5069 GB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.1012, allocations: 7.438 kB / 0.5069 GB, free: 5.504 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1012, allocations: 0 / 0.5069 GB, free: 5.504 MB / 350.1 MB Notification: Performance of Templates: time 0.002022/0.1032, allocations: 249.1 kB / 0.5072 GB, free: 5.262 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)