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.001081/0.001082, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.316/1.316, allocations: 222.9 MB / 240 MB, free: 4.547 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.001292/0.001292, allocations: 180.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03421/0.03421, allocations: 8.797 MB / 349.3 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 83.88 kB / 464.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.09781, allocations: 51.56 MB / 0.504 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001375/0.09922, allocations: 0.5061 MB / 0.5045 GB, free: 9.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.09937, allocations: 23.94 kB / 0.5046 GB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.0994, allocations: 4 kB / 0.5046 GB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.09943, allocations: 3.938 kB / 0.5046 GB, free: 8.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.524e-05/0.09947, allocations: 0 / 0.5046 GB, free: 8.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.09959, allocations: 3.938 kB / 0.5046 GB, free: 8.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.09966, allocations: 23.92 kB / 0.5046 GB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.09972, allocations: 0 / 0.5046 GB, free: 8.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.93e-05/0.09974, allocations: 7.938 kB / 0.5046 GB, free: 8.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.0998, allocations: 11.97 kB / 0.5046 GB, free: 8.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.09982, allocations: 0 / 0.5046 GB, free: 8.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.09983, allocations: 0 / 0.5046 GB, free: 8.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.09985, allocations: 3.938 kB / 0.5046 GB, free: 8.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.09988, allocations: 8 kB / 0.5046 GB, free: 8.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.347e-05/0.09993, allocations: 7.938 kB / 0.5046 GB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09994, allocations: 0 / 0.5046 GB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09995, allocations: 0 / 0.5046 GB, free: 8.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.09997, allocations: 4 kB / 0.5046 GB, free: 8.926 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.000326/0.1003, allocations: 331.5 kB / 0.5049 GB, free: 8.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1003, allocations: 8.031 kB / 0.505 GB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.1004, allocations: 0.9375 kB / 0.505 GB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1005, allocations: 172.3 kB / 0.5051 GB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1005, allocations: 384 / 0.5051 GB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1005, allocations: 384 / 0.5051 GB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.158e-05/0.1006, allocations: 38.2 kB / 0.5052 GB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1006, allocations: 4.172 kB / 0.5052 GB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1006, allocations: 7.938 kB / 0.5052 GB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1006, allocations: 4 kB / 0.5052 GB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.1007, allocations: 7.938 kB / 0.5052 GB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.1008, allocations: 153.7 kB / 0.5053 GB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.019e-05/0.1009, allocations: 34.58 kB / 0.5054 GB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.1009, allocations: 12.94 kB / 0.5054 GB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1009, allocations: 7.938 kB / 0.5054 GB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.101, allocations: 38.56 kB / 0.5054 GB, free: 7.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.101, allocations: 0 / 0.5054 GB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.1011, allocations: 49.62 kB / 0.5055 GB, free: 7.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1011, allocations: 55.41 kB / 0.5055 GB, free: 7.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.1012, allocations: 98.03 kB / 0.5056 GB, free: 7.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1012, allocations: 33.62 kB / 0.5056 GB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.1013, allocations: 80.14 kB / 0.5057 GB, free: 7.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1013, allocations: 19.81 kB / 0.5057 GB, free: 7.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.1013, allocations: 13.72 kB / 0.5058 GB, free: 7.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.1014, allocations: 314.8 kB / 0.5061 GB, free: 7.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.1014, allocations: 7.984 kB / 0.5061 GB, free: 7.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.1015, allocations: 7.938 kB / 0.5061 GB, free: 7.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.1015, allocations: 20.86 kB / 0.5061 GB, free: 7.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1015, allocations: 0 / 0.5061 GB, free: 7.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.114e-05/0.1016, allocations: 45.69 kB / 0.5061 GB, free: 7.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.1016, allocations: 4 kB / 0.5061 GB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1016, allocations: 7.938 kB / 0.5061 GB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1016, allocations: 0 / 0.5061 GB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.1017, allocations: 8 kB / 0.5061 GB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1017, allocations: 0 / 0.5061 GB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.1017, allocations: 7.984 kB / 0.5062 GB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1017, allocations: 0 / 0.5062 GB, free: 7.137 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 5.509e-05/0.1018, allocations: 113.7 kB / 0.5063 GB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.1018, allocations: 11.91 kB / 0.5063 GB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.1018, allocations: 7.438 kB / 0.5063 GB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1018, allocations: 4 kB / 0.5063 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1019, allocations: 0 / 0.5063 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1019, allocations: 0 / 0.5063 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.73e-05/0.1019, allocations: 157.7 kB / 0.5064 GB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.102, allocations: 4 kB / 0.5064 GB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.102, allocations: 8 kB / 0.5064 GB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.102, allocations: 0 / 0.5064 GB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.102, allocations: 3.938 kB / 0.5065 GB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1021, allocations: 7.984 kB / 0.5065 GB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1021, allocations: 0 / 0.5065 GB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1022, allocations: 81.06 kB / 0.5065 GB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.1022, allocations: 81.05 kB / 0.5066 GB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1022, allocations: 7.875 kB / 0.5066 GB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.666e-05/0.1023, allocations: 0 / 0.5066 GB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.1023, allocations: 4.031 kB / 0.5066 GB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1023, allocations: 0 / 0.5066 GB, free: 6.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.514e-05/0.1023, allocations: 87.2 kB / 0.5067 GB, free: 6.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1023, allocations: 0 / 0.5067 GB, free: 6.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001846/0.1025, allocations: 8.062 kB / 0.5067 GB, free: 6.461 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.287e-05/0.1026, allocations: 95.25 kB / 0.5068 GB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.991e-05/0.1027, allocations: 16.5 kB / 0.5068 GB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1027, allocations: 0 / 0.5068 GB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.1027, allocations: 11.94 kB / 0.5068 GB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1029, allocations: 0 / 0.5068 GB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.1032, allocations: 202.4 kB / 0.507 GB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1034, allocations: 0.6766 MB / 0.5077 GB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.1035, allocations: 7.438 kB / 0.5077 GB, free: 5.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1035, allocations: 0 / 0.5077 GB, free: 5.387 MB / 350.1 MB Notification: Performance of Templates: time 0.001447/0.1049, allocations: 495.8 kB / 0.5082 GB, free: 4.898 MB / 350.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)