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.001042/0.001042, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.26/1.26, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001359/0.001359, allocations: 188.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0316/0.0316, allocations: 8.782 MB / 348.1 MB, free: 4.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.72 kB / 410.4 MB, free: 42.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08104/0.08234, allocations: 51.56 MB / 462 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002771/0.08515, allocations: 1.87 MB / 463.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006665/0.08583, allocations: 462.9 kB / 464.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.08592, allocations: 0 / 464.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.08606, allocations: 15.91 kB / 464.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.317e-05/0.08612, allocations: 19.78 kB / 464.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.08624, allocations: 19.98 kB / 464.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.08638, allocations: 123.5 kB / 464.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.08651, allocations: 45.17 kB / 464.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.08657, allocations: 43.8 kB / 464.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.08664, allocations: 47.78 kB / 464.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.08667, allocations: 4 kB / 464.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.08669, allocations: 8 kB / 464.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.08672, allocations: 23.92 kB / 464.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.08678, allocations: 55.73 kB / 464.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.08691, allocations: 111.9 kB / 464.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08692, allocations: 0 / 464.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.08693, allocations: 0 / 464.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.08693, allocations: 0 / 464.8 MB, free: 12.06 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.0004328/0.08737, allocations: 411.1 kB / 465.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.08741, allocations: 8.031 kB / 465.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.08745, allocations: 24.77 kB / 465.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.08762, allocations: 188.2 kB / 465.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.08764, allocations: 8.375 kB / 465.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.08767, allocations: 12.38 kB / 465.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.08784, allocations: 110.8 kB / 465.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.08786, allocations: 0 / 465.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.08787, allocations: 0 / 465.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.08788, allocations: 4 kB / 465.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.088, allocations: 59.97 kB / 465.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.08865, allocations: 0.4981 MB / 466.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.01e-05/0.08874, allocations: 58.44 kB / 466.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.08878, allocations: 16.86 kB / 466.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-06/0.08879, allocations: 0 / 466.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.08882, allocations: 42.64 kB / 466.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.08883, allocations: 0 / 466.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001396/0.08897, allocations: 61.62 kB / 466.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.08901, allocations: 51.41 kB / 466.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.08913, allocations: 151.9 kB / 466.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.08915, allocations: 29.7 kB / 466.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.08921, allocations: 112 kB / 466.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.08924, allocations: 23.78 kB / 466.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.08929, allocations: 17.72 kB / 466.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.0894, allocations: 330.8 kB / 467 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.08943, allocations: 8 kB / 467 MB, free: 9.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.08947, allocations: 34.58 kB / 467 MB, free: 9.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.08954, allocations: 50.5 kB / 467.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.08955, allocations: 0 / 467.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001011/0.08965, allocations: 77.53 kB / 467.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.08967, allocations: 8 kB / 467.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.08968, allocations: 0 / 467.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.0897, allocations: 64 / 467.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.08978, allocations: 20 kB / 467.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.0898, allocations: 7.984 kB / 467.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.08984, allocations: 3.938 kB / 467.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.08985, allocations: 4.188 kB / 467.2 MB, free: 9.418 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 8.188e-05/0.08994, allocations: 129.6 kB / 467.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.08997, allocations: 11.84 kB / 467.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.09, allocations: 12.23 kB / 467.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.09, allocations: 0 / 467.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.09001, allocations: 8 kB / 467.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.09002, allocations: 0 / 467.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.09019, allocations: 197.6 kB / 467.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0902, allocations: 0 / 467.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.09026, allocations: 8 kB / 467.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.09027, allocations: 0 / 467.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.09029, allocations: 3.984 kB / 467.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.09029, allocations: 0 / 467.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.0903, allocations: 64 / 467.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.09044, allocations: 171.4 kB / 467.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.09049, allocations: 85.05 kB / 467.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.09051, allocations: 0 / 467.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.09059, allocations: 15.92 kB / 467.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.09061, allocations: 3.938 kB / 467.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.09062, allocations: 4 kB / 467.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.975e-05/0.0907, allocations: 105.3 kB / 467.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0907, allocations: 0 / 467.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.09093, allocations: 27.84 kB / 467.9 MB, free: 8.555 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 6.769e-05/0.091, allocations: 99.3 kB / 468 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.813e-05/0.09111, allocations: 35.94 kB / 468.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.09112, allocations: 0 / 468.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.09114, allocations: 11.98 kB / 468.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.09141, allocations: 11.94 kB / 468.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.09189, allocations: 313.1 kB / 468.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.09212, allocations: 0.7004 MB / 469.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.09216, allocations: 8.656 kB / 469.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.09219, allocations: 15.44 kB / 469.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.0922, allocations: 0 / 469.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of Templates: time 0.002322/0.09452, allocations: 0.6744 MB / 469.8 MB, free: 6.645 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 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)