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.001372/0.001372, allocations: 103 kB / 16.35 MB, free: 5.828 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.381/1.381, allocations: 222.9 MB / 240 MB, free: 4.484 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.001238/0.001238, allocations: 184.5 kB / 290.3 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03662/0.03662, allocations: 8.798 MB / 349.3 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001834, allocations: 78.95 kB / 412.5 MB, free: 41.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09502, allocations: 51.56 MB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003534/0.09861, allocations: 1.813 MB / 465.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008086/0.09945, allocations: 462.8 kB / 466.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.09958, allocations: 4 kB / 466.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.09971, allocations: 19.8 kB / 466.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.09981, allocations: 31.7 kB / 466.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.09998, allocations: 27.97 kB / 466.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1002, allocations: 123.5 kB / 466.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1003, allocations: 52.94 kB / 466.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.1004, allocations: 47.8 kB / 466.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.1005, allocations: 47.77 kB / 466.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1005, allocations: 12 kB / 466.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.1006, allocations: 8 kB / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.1006, allocations: 23.92 kB / 466.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.1007, allocations: 55.73 kB / 466.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1008, allocations: 115.6 kB / 466.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1009, allocations: 8 kB / 466.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1009, allocations: 0 / 466.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1009, allocations: 0 / 466.9 MB, free: 10.68 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005628/0.1015, allocations: 411.1 kB / 467.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1015, allocations: 8.031 kB / 467.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.1016, allocations: 12.84 kB / 467.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1019, allocations: 196.1 kB / 467.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1019, allocations: 4.375 kB / 467.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.1019, allocations: 12.38 kB / 467.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1021, allocations: 110.8 kB / 467.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1021, allocations: 7.938 kB / 467.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.1022, allocations: 4 kB / 467.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1022, allocations: 4 kB / 467.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1023, allocations: 59.97 kB / 467.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.103, allocations: 498.1 kB / 468.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.1031, allocations: 58.5 kB / 468.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.1032, allocations: 16.86 kB / 468.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.1032, allocations: 0 / 468.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1032, allocations: 30.56 kB / 468.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1032, allocations: 0 / 468.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001636/0.1034, allocations: 69.64 kB / 468.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.1034, allocations: 55.41 kB / 468.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1036, allocations: 151.5 kB / 468.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1036, allocations: 25.7 kB / 468.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.1037, allocations: 120 kB / 468.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.1037, allocations: 11.81 kB / 468.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.1037, allocations: 25.7 kB / 468.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.1038, allocations: 318.8 kB / 469.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.1039, allocations: 15.98 kB / 469.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.513e-05/0.1039, allocations: 34.56 kB / 469.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.104, allocations: 50.5 kB / 469.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.104, allocations: 0 / 469.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001207/0.1041, allocations: 85.53 kB / 469.3 MB, free: 8.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1041, allocations: 4 kB / 469.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1041, allocations: 0 / 469.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1042, allocations: 8.062 kB / 469.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.1043, allocations: 12 kB / 469.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1043, allocations: 0 / 469.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.1043, allocations: 7.938 kB / 469.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1043, allocations: 0 / 469.3 MB, free: 8.047 MB / 302.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 9.241e-05/0.1044, allocations: 141.6 kB / 469.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1045, allocations: 7.906 kB / 469.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.1045, allocations: 8.438 kB / 469.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1045, allocations: 3.984 kB / 469.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1045, allocations: 8.062 kB / 469.4 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1045, allocations: 0 / 469.4 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1047, allocations: 201.5 kB / 469.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1047, allocations: 0 / 469.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.1048, allocations: 8 kB / 469.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1048, allocations: 0 / 469.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1048, allocations: 4 kB / 469.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1048, allocations: 0 / 469.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1049, allocations: 0 / 469.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.105, allocations: 171.4 kB / 469.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.1051, allocations: 85.02 kB / 469.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1051, allocations: 7.969 kB / 469.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.1052, allocations: 3.984 kB / 469.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.1052, allocations: 4 kB / 469.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1052, allocations: 0 / 469.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.529e-05/0.1053, allocations: 105.3 kB / 470 MB, free: 7.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1053, allocations: 0 / 470 MB, free: 7.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1056, allocations: 35.91 kB / 470.1 MB, free: 7.172 MB / 302.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.887e-05/0.1057, allocations: 95.19 kB / 470.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1058, allocations: 35.92 kB / 470.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1058, allocations: 0 / 470.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.1058, allocations: 15.98 kB / 470.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1061, allocations: 11.94 kB / 470.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.1066, allocations: 279.5 kB / 470.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1069, allocations: 0.7041 MB / 471.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.1069, allocations: 8.656 kB / 471.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.107, allocations: 11.44 kB / 471.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.107, allocations: 0 / 471.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of Templates: time 0.002868/0.1098, allocations: 0.6933 MB / 471.9 MB, free: 5.277 MB / 302.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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)