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.0008453/0.0008453, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.327/1.327, allocations: 223.3 MB / 239 MB, free: 5.438 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.0009009/0.0009008, allocations: 180.5 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04852/0.04852, allocations: 8.795 MB / 350.2 MB, free: 4.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 9.781 kB / 413.2 MB, free: 43.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.09994, allocations: 52.56 MB / 465.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.0005854/0.1006, allocations: 210.3 kB / 466 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001189/0.1007, allocations: 19.92 kB / 466 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.1007, allocations: 0 / 466 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.778e-06/0.1008, allocations: 0 / 466 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.101e-05/0.1008, allocations: 3.938 kB / 466 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.1009, allocations: 4 kB / 466 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.101, allocations: 15.94 kB / 466 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.101, allocations: 11.97 kB / 466 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.101, allocations: 0 / 466 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.1011, allocations: 7.938 kB / 466 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1011, allocations: 0 / 466 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.1011, allocations: 0 / 466 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.1012, allocations: 7.938 kB / 466 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.1012, allocations: 29.7 kB / 466.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.026e-05/0.1012, allocations: 3.984 kB / 466.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1013, allocations: 0 / 466.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1013, allocations: 0 / 466.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.1013, allocations: 4 kB / 466.1 MB, free: 13.18 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.0003176/0.1016, allocations: 319.3 kB / 466.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1016, allocations: 8.031 kB / 466.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1017, allocations: 7.891 kB / 466.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1018, allocations: 159.4 kB / 466.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1018, allocations: 4 kB / 466.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1018, allocations: 7.984 kB / 466.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.878e-05/0.1019, allocations: 33.69 kB / 466.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1019, allocations: 0 / 466.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.102, allocations: 4 kB / 466.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.102, allocations: 0 / 466.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.102, allocations: 15.95 kB / 466.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.1022, allocations: 157.6 kB / 466.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/0.1023, allocations: 38.55 kB / 466.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.1023, allocations: 12.86 kB / 466.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.1023, allocations: 0 / 466.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1023, allocations: 34.56 kB / 466.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.1023, allocations: 4 kB / 466.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001319/0.1025, allocations: 49.72 kB / 466.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1025, allocations: 51.41 kB / 467 MB, free: 12.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.1026, allocations: 105.8 kB / 467.1 MB, free: 12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1026, allocations: 25.7 kB / 467.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.1027, allocations: 80.14 kB / 467.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1027, allocations: 7.812 kB / 467.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1027, allocations: 8 kB / 467.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1028, allocations: 314.8 kB / 467.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.1029, allocations: 7.984 kB / 467.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-06/0.1029, allocations: 0 / 467.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.814e-05/0.1029, allocations: 8 kB / 467.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1029, allocations: 4 kB / 467.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.707e-05/0.103, allocations: 45.69 kB / 467.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.103, allocations: 11.88 kB / 467.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.103, allocations: 0 / 467.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.103, allocations: 8.453 kB / 467.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.1031, allocations: 8 kB / 467.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1031, allocations: 0 / 467.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.1032, allocations: 0 / 467.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1032, allocations: 7.953 kB / 467.6 MB, free: 11.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/0.1033, allocations: 113.8 kB / 467.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.1033, allocations: 3.906 kB / 467.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.1033, allocations: 7.5 kB / 467.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1033, allocations: 3.984 kB / 467.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1033, allocations: 4 kB / 467.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1033, allocations: 0 / 467.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1034, allocations: 161.6 kB / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1034, allocations: 0 / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.1035, allocations: 8 kB / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1035, allocations: 0 / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1035, allocations: 0 / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.1035, allocations: 0 / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1035, allocations: 0 / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.1037, allocations: 89 kB / 468 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.1037, allocations: 81.14 kB / 468.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1037, allocations: 4 kB / 468.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.1038, allocations: 0 / 468.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.1038, allocations: 4 kB / 468.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1038, allocations: 4 kB / 468.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.179e-05/0.1038, allocations: 79.27 kB / 468.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1038, allocations: 0 / 468.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000193/0.104, allocations: 4 kB / 468.1 MB, free: 10.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.491e-05/0.1041, allocations: 95.84 kB / 468.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.1042, allocations: 19.94 kB / 468.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1042, allocations: 0 / 468.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.1043, allocations: 7.984 kB / 468.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.1044, allocations: 10.3 kB / 468.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.1047, allocations: 120.5 kB / 468.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1049, allocations: 0.681 MB / 469.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.528e-05/0.105, allocations: 0 / 469.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.105, allocations: 11.42 kB / 469.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.105, allocations: 0 / 469.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of Templates: time 0.002388/0.1074, allocations: 228.5 kB / 469.3 MB, free: 9.562 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: