Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004435/0.004435, allocations: 101 kB / 15.73 MB, free: 6.473 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.358/1.358, allocations: 222.9 MB / 239.4 MB, free: 4.574 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.001524/0.001524, allocations: 192.4 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03363/0.03363, allocations: 8.787 MB / 348.6 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.88 kB / 463.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09428, allocations: 51.56 MB / 0.5034 GB, free: 9.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002902/0.09721, allocations: 1.803 MB / 0.5051 GB, free: 7.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000789/0.09803, allocations: 466.8 kB / 0.5056 GB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.09816, allocations: 4 kB / 0.5056 GB, free: 7.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.0983, allocations: 15.8 kB / 0.5056 GB, free: 7.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.0984, allocations: 39.69 kB / 0.5056 GB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.09855, allocations: 23.97 kB / 0.5057 GB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.09873, allocations: 123.5 kB / 0.5058 GB, free: 7.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.09888, allocations: 45.09 kB / 0.5058 GB, free: 7.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.664e-05/0.09895, allocations: 47.8 kB / 0.5059 GB, free: 6.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.09905, allocations: 51.78 kB / 0.5059 GB, free: 6.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.09908, allocations: 8 kB / 0.5059 GB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.09911, allocations: 16 kB / 0.5059 GB, free: 6.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.09914, allocations: 19.92 kB / 0.506 GB, free: 6.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.09921, allocations: 55.73 kB / 0.506 GB, free: 6.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.09937, allocations: 119.6 kB / 0.5061 GB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.0994, allocations: 0 / 0.5061 GB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09941, allocations: 0 / 0.5061 GB, free: 6.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.09942, allocations: 0 / 0.5061 GB, free: 6.723 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.0005022/0.09993, allocations: 407.1 kB / 0.5065 GB, free: 6.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.09997, allocations: 15.97 kB / 0.5065 GB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.1, allocations: 16.83 kB / 0.5065 GB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1003, allocations: 192.2 kB / 0.5067 GB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1003, allocations: 8.375 kB / 0.5067 GB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1003, allocations: 12.38 kB / 0.5068 GB, free: 6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1005, allocations: 105.9 kB / 0.5069 GB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1005, allocations: 0 / 0.5069 GB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1006, allocations: 8 kB / 0.5069 GB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1006, allocations: 0 / 0.5069 GB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1007, allocations: 59.97 kB / 0.5069 GB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.1015, allocations: 0.4943 MB / 0.5074 GB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.1016, allocations: 46.5 kB / 0.5074 GB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.1016, allocations: 20.84 kB / 0.5075 GB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.1016, allocations: 4.094 kB / 0.5075 GB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1017, allocations: 42.55 kB / 0.5075 GB, free: 5.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.1017, allocations: 0 / 0.5075 GB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001734/0.1018, allocations: 69.53 kB / 0.5076 GB, free: 5.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1019, allocations: 51.41 kB / 0.5076 GB, free: 4.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.102, allocations: 143.1 kB / 0.5078 GB, free: 4.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.102, allocations: 25.7 kB / 0.5078 GB, free: 4.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.1021, allocations: 127.9 kB / 0.5079 GB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.1021, allocations: 11.89 kB / 0.5079 GB, free: 4.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1022, allocations: 25.62 kB / 0.5079 GB, free: 4.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.1023, allocations: 318.8 kB / 0.5082 GB, free: 4.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.1023, allocations: 12 kB / 0.5083 GB, free: 4.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.1024, allocations: 34.56 kB / 0.5083 GB, free: 4.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.1024, allocations: 54.52 kB / 0.5083 GB, free: 4.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1024, allocations: 0 / 0.5083 GB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000111/0.1026, allocations: 73.62 kB / 0.5084 GB, free: 4.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1026, allocations: 4 kB / 0.5084 GB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1026, allocations: 4 kB / 0.5084 GB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1026, allocations: 0 / 0.5084 GB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.1027, allocations: 15.98 kB / 0.5084 GB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1027, allocations: 0 / 0.5084 GB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.1028, allocations: 19.91 kB / 0.5085 GB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1028, allocations: 4 kB / 0.5085 GB, free: 4.078 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.72e-05/0.1029, allocations: 133.6 kB / 0.5086 GB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1029, allocations: 7.906 kB / 0.5086 GB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.103, allocations: 8.25 kB / 0.5086 GB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.103, allocations: 0 / 0.5086 GB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.103, allocations: 0 / 0.5086 GB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.103, allocations: 4 kB / 0.5086 GB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.1032, allocations: 197.5 kB / 0.5088 GB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1032, allocations: 4 kB / 0.5088 GB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.1033, allocations: 12 kB / 0.5088 GB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1033, allocations: 3.984 kB / 0.5088 GB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1033, allocations: 0 / 0.5088 GB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1033, allocations: 0 / 0.5088 GB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1033, allocations: 0 / 0.5088 GB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.1035, allocations: 167.5 kB / 0.509 GB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.1035, allocations: 85.05 kB / 0.5091 GB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1036, allocations: 4.047 kB / 0.5091 GB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.1037, allocations: 11.94 kB / 0.5091 GB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.1037, allocations: 0 / 0.5091 GB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1037, allocations: 0 / 0.5091 GB, free: 3.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.937e-05/0.1038, allocations: 113 kB / 0.5092 GB, free: 3.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1038, allocations: 0 / 0.5092 GB, free: 3.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.104, allocations: 23.84 kB / 0.5092 GB, free: 3.219 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 8.755e-05/0.1041, allocations: 99.23 kB / 0.5093 GB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1042, allocations: 39.92 kB / 0.5093 GB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1043, allocations: 3.938 kB / 0.5093 GB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.1043, allocations: 12 kB / 0.5093 GB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1045, allocations: 11.94 kB / 0.5094 GB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.1051, allocations: 279.2 kB / 0.5096 GB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1054, allocations: 0.7002 MB / 0.5103 GB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.1055, allocations: 12.66 kB / 0.5103 GB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.1055, allocations: 11.44 kB / 0.5103 GB, free: 1.996 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1055, allocations: 0 / 0.5103 GB, free: 1.996 MB / 350.1 MB Notification: Performance of Templates: time 0.002944/0.1084, allocations: 0.701 MB / 0.511 GB, free: 1.305 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)