Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.294/1.294, allocations: 222.9 MB / 240.1 MB, free: 4.348 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.001268/0.001268, allocations: 192.5 kB / 290.4 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03419/0.03419, allocations: 8.805 MB / 349.3 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 79.88 kB / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09765, allocations: 51.56 MB / 0.5041 GB, free: 9.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002828/0.1005, allocations: 1.82 MB / 0.5058 GB, free: 7.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.1013, allocations: 462.8 kB / 0.5063 GB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.1014, allocations: 4 kB / 0.5063 GB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.1015, allocations: 19.84 kB / 0.5063 GB, free: 7.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.1016, allocations: 27.72 kB / 0.5063 GB, free: 7.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1017, allocations: 31.89 kB / 0.5063 GB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1019, allocations: 119.5 kB / 0.5065 GB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1021, allocations: 45.11 kB / 0.5065 GB, free: 6.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.1021, allocations: 43.86 kB / 0.5065 GB, free: 6.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.1022, allocations: 51.72 kB / 0.5066 GB, free: 6.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1022, allocations: 12 kB / 0.5066 GB, free: 6.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.1023, allocations: 8 kB / 0.5066 GB, free: 6.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.1023, allocations: 27.91 kB / 0.5066 GB, free: 6.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.1024, allocations: 59.73 kB / 0.5067 GB, free: 6.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1025, allocations: 115.6 kB / 0.5068 GB, free: 6.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1026, allocations: 4 kB / 0.5068 GB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1026, allocations: 0 / 0.5068 GB, free: 6.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1026, allocations: 0 / 0.5068 GB, free: 6.582 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004718/0.1031, allocations: 411.1 kB / 0.5072 GB, free: 6.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1031, allocations: 8.031 kB / 0.5072 GB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.1031, allocations: 12.84 kB / 0.5072 GB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1034, allocations: 196.2 kB / 0.5074 GB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1034, allocations: 12.31 kB / 0.5074 GB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1034, allocations: 12.38 kB / 0.5074 GB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1036, allocations: 106 kB / 0.5075 GB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1037, allocations: 0 / 0.5075 GB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1037, allocations: 4 kB / 0.5075 GB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1037, allocations: 4 kB / 0.5075 GB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1038, allocations: 59.92 kB / 0.5076 GB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.1047, allocations: 0.4982 MB / 0.5081 GB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.1048, allocations: 42.58 kB / 0.5081 GB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.1048, allocations: 24.88 kB / 0.5082 GB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.1048, allocations: 3.938 kB / 0.5082 GB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1049, allocations: 34.56 kB / 0.5082 GB, free: 4.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1049, allocations: 0 / 0.5082 GB, free: 4.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001914/0.1051, allocations: 65.59 kB / 0.5083 GB, free: 4.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1051, allocations: 51.41 kB / 0.5083 GB, free: 4.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1053, allocations: 143.8 kB / 0.5084 GB, free: 4.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1053, allocations: 25.7 kB / 0.5085 GB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/0.1054, allocations: 127.9 kB / 0.5086 GB, free: 4.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.959e-06/0.1054, allocations: 3.906 kB / 0.5086 GB, free: 4.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.1054, allocations: 29.62 kB / 0.5086 GB, free: 4.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1056, allocations: 322.8 kB / 0.5089 GB, free: 4.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.1056, allocations: 15.94 kB / 0.5089 GB, free: 4.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.1057, allocations: 34.56 kB / 0.509 GB, free: 4.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.1057, allocations: 42.58 kB / 0.509 GB, free: 4.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1058, allocations: 4 kB / 0.509 GB, free: 4.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.1059, allocations: 77.62 kB / 0.5091 GB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1059, allocations: 4 kB / 0.5091 GB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.1059, allocations: 4.062 kB / 0.5091 GB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1059, allocations: 7.938 kB / 0.5091 GB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.106, allocations: 15.98 kB / 0.5091 GB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1061, allocations: 0 / 0.5091 GB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1061, allocations: 15.84 kB / 0.5091 GB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1061, allocations: 0 / 0.5091 GB, free: 3.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.986e-05/0.1062, allocations: 125.8 kB / 0.5093 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1063, allocations: 7.906 kB / 0.5093 GB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.1063, allocations: 16.23 kB / 0.5093 GB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1063, allocations: 3.938 kB / 0.5093 GB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1063, allocations: 0 / 0.5093 GB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1063, allocations: 0 / 0.5093 GB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1065, allocations: 193.6 kB / 0.5095 GB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1065, allocations: 0 / 0.5095 GB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.1066, allocations: 15.92 kB / 0.5095 GB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1066, allocations: 4 kB / 0.5095 GB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1067, allocations: 4 kB / 0.5095 GB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1067, allocations: 0 / 0.5095 GB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1067, allocations: 0 / 0.5095 GB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.1068, allocations: 163.4 kB / 0.5096 GB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.1069, allocations: 85 kB / 0.5097 GB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1069, allocations: 4.031 kB / 0.5097 GB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.107, allocations: 4.062 kB / 0.5097 GB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.1071, allocations: 4 kB / 0.5097 GB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1071, allocations: 240 / 0.5097 GB, free: 3.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.309e-05/0.1071, allocations: 116.8 kB / 0.5099 GB, free: 3.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1071, allocations: 0 / 0.5099 GB, free: 3.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1074, allocations: 27.84 kB / 0.5099 GB, free: 3.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 0.0001001/0.1075, allocations: 99.19 kB / 0.51 GB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.1076, allocations: 31.98 kB / 0.51 GB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1076, allocations: 4.125 kB / 0.51 GB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.1077, allocations: 15.92 kB / 0.51 GB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1079, allocations: 17.91 kB / 0.51 GB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.1085, allocations: 312.7 kB / 0.5103 GB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1088, allocations: 0.6963 MB / 0.511 GB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1089, allocations: 15.42 kB / 0.511 GB, free: 1.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1089, allocations: 0 / 0.511 GB, free: 1.836 MB / 350.1 MB Notification: Performance of Templates: time 0.003059/0.112, allocations: 1.116 MB / 0.5121 GB, free: 0.7227 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)