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.005796/0.005796, allocations: 97.42 kB / 15.73 MB, free: 5.602 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.283/1.283, allocations: 222.9 MB / 239.4 MB, free: 4.414 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.001164/0.001164, allocations: 188.5 kB / 289.7 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03316/0.03316, allocations: 8.797 MB / 348.6 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 79.88 kB / 463.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.0944, allocations: 51.56 MB / 0.5034 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002495/0.09693, allocations: 1.815 MB / 0.5052 GB, free: 7.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.09788, allocations: 466.8 kB / 0.5056 GB, free: 7.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.09797, allocations: 4 kB / 0.5056 GB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.816e-05/0.09808, allocations: 15.84 kB / 0.5056 GB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.09815, allocations: 31.7 kB / 0.5056 GB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.09829, allocations: 27.91 kB / 0.5057 GB, free: 7.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.09845, allocations: 119.5 kB / 0.5058 GB, free: 7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.09859, allocations: 57.03 kB / 0.5058 GB, free: 6.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.09865, allocations: 43.86 kB / 0.5059 GB, free: 6.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.09875, allocations: 47.72 kB / 0.5059 GB, free: 6.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.09878, allocations: 15.94 kB / 0.5059 GB, free: 6.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.0988, allocations: 8 kB / 0.506 GB, free: 6.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.09884, allocations: 23.92 kB / 0.506 GB, free: 6.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.0989, allocations: 55.73 kB / 0.506 GB, free: 6.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.09905, allocations: 119.5 kB / 0.5061 GB, free: 6.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.09906, allocations: 0 / 0.5061 GB, free: 6.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09907, allocations: 0 / 0.5061 GB, free: 6.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.09909, allocations: 4 kB / 0.5061 GB, free: 6.633 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.0004911/0.09959, allocations: 425.3 kB / 0.5066 GB, free: 6.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.09963, allocations: 8.031 kB / 0.5066 GB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.09968, allocations: 12.84 kB / 0.5066 GB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.09987, allocations: 192.2 kB / 0.5068 GB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.0999, allocations: 12.38 kB / 0.5068 GB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.09993, allocations: 16.36 kB / 0.5068 GB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1001, allocations: 106 kB / 0.5069 GB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1001, allocations: 0 / 0.5069 GB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1001, allocations: 3.984 kB / 0.5069 GB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1001, allocations: 4 kB / 0.5069 GB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1003, allocations: 59.92 kB / 0.507 GB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.1009, allocations: 0.4944 MB / 0.5074 GB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.101, allocations: 46.58 kB / 0.5075 GB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.101, allocations: 20.88 kB / 0.5075 GB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.1011, allocations: 4 kB / 0.5075 GB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1011, allocations: 34.56 kB / 0.5075 GB, free: 5.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1011, allocations: 0 / 0.5075 GB, free: 5.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001572/0.1013, allocations: 61.64 kB / 0.5076 GB, free: 4.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1013, allocations: 51.41 kB / 0.5076 GB, free: 4.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1014, allocations: 143.7 kB / 0.5078 GB, free: 4.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1014, allocations: 25.7 kB / 0.5078 GB, free: 4.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.1015, allocations: 128 kB / 0.5079 GB, free: 4.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.1015, allocations: 11.91 kB / 0.5079 GB, free: 4.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.1015, allocations: 21.72 kB / 0.508 GB, free: 4.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1017, allocations: 326.8 kB / 0.5083 GB, free: 4.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.1017, allocations: 15.94 kB / 0.5083 GB, free: 4.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.1018, allocations: 30.56 kB / 0.5083 GB, free: 4.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.1019, allocations: 46.58 kB / 0.5084 GB, free: 4.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1019, allocations: 4 kB / 0.5084 GB, free: 4.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001333/0.1021, allocations: 85.52 kB / 0.5084 GB, free: 4.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1021, allocations: 4 kB / 0.5084 GB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1021, allocations: 0 / 0.5084 GB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1021, allocations: 64 / 0.5084 GB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.1022, allocations: 31.92 kB / 0.5085 GB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1022, allocations: 0 / 0.5085 GB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.1023, allocations: 7.891 kB / 0.5085 GB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1023, allocations: 7.938 kB / 0.5085 GB, free: 3.977 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 6.918e-05/0.1023, allocations: 125.8 kB / 0.5086 GB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.1024, allocations: 7.953 kB / 0.5086 GB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.1024, allocations: 16.23 kB / 0.5086 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1024, allocations: 0 / 0.5086 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1024, allocations: 0 / 0.5086 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1024, allocations: 0 / 0.5086 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1026, allocations: 197.6 kB / 0.5088 GB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1026, allocations: 3.984 kB / 0.5088 GB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.1027, allocations: 8 kB / 0.5088 GB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1027, allocations: 3.938 kB / 0.5088 GB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1027, allocations: 4 kB / 0.5088 GB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1027, allocations: 4 kB / 0.5088 GB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1027, allocations: 0 / 0.5088 GB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1029, allocations: 167.6 kB / 0.509 GB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.1029, allocations: 81.06 kB / 0.5091 GB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1029, allocations: 48 / 0.5091 GB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.103, allocations: 12.02 kB / 0.5091 GB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.103, allocations: 8.062 kB / 0.5091 GB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.103, allocations: 0 / 0.5091 GB, free: 3.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.22e-05/0.1031, allocations: 109.3 kB / 0.5092 GB, free: 3.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1031, allocations: 0 / 0.5092 GB, free: 3.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1033, allocations: 27.94 kB / 0.5092 GB, free: 3.117 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 7.139e-05/0.1034, allocations: 91.25 kB / 0.5093 GB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1035, allocations: 35.92 kB / 0.5094 GB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1035, allocations: 128 / 0.5094 GB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-05/0.1036, allocations: 19.94 kB / 0.5094 GB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1038, allocations: 11.92 kB / 0.5094 GB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.1043, allocations: 282.6 kB / 0.5097 GB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1045, allocations: 0.6963 MB / 0.5103 GB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.356e-05/0.1045, allocations: 8.75 kB / 0.5103 GB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.1046, allocations: 15.38 kB / 0.5104 GB, free: 1.902 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1046, allocations: 4 kB / 0.5104 GB, free: 1.898 MB / 350.1 MB Notification: Performance of Templates: time 0.002511/0.1071, allocations: 0.7034 MB / 0.511 GB, free: 1.203 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)