Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009437, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.432/1.432, allocations: 223.3 MB / 239 MB, free: 5.633 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.0009535/0.0009535, allocations: 176.5 kB / 290.3 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03328/0.03328, allocations: 8.798 MB / 350.2 MB, free: 4.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 10.28 kB / 413.2 MB, free: 43.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.0943, allocations: 52.57 MB / 465.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.00248/0.09682, allocations: 1.839 MB / 467.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.09767, allocations: 483.1 kB / 468.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.09781, allocations: 8 kB / 468.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.09794, allocations: 19.84 kB / 468.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.09802, allocations: 27.77 kB / 468.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.09817, allocations: 31.91 kB / 468.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.09838, allocations: 151.4 kB / 468.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.09853, allocations: 50 kB / 468.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.0986, allocations: 47.78 kB / 468.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.09871, allocations: 59.7 kB / 468.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.09874, allocations: 8 kB / 468.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.09877, allocations: 8 kB / 468.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.0988, allocations: 23.86 kB / 468.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.09885, allocations: 49.64 kB / 468.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.09899, allocations: 119.6 kB / 468.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.099, allocations: 0 / 468.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09901, allocations: 4 kB / 468.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.09902, allocations: 0 / 468.7 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.00052/0.09955, allocations: 438.6 kB / 469.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.09959, allocations: 12.03 kB / 469.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.09964, allocations: 19.77 kB / 469.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.09986, allocations: 214.7 kB / 469.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.09989, allocations: 16 kB / 469.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.09992, allocations: 12 kB / 469.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.1002, allocations: 160.8 kB / 469.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1002, allocations: 0 / 469.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.1003, allocations: 8 kB / 469.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1003, allocations: 4 kB / 469.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1005, allocations: 104.6 kB / 469.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.1014, allocations: 0.738 MB / 470.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1015, allocations: 82.55 kB / 470.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.1016, allocations: 40.8 kB / 470.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1017, allocations: 0 / 470.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1017, allocations: 30.56 kB / 470.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.1017, allocations: 0 / 470.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.000286/0.102, allocations: 113.6 kB / 470.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.102, allocations: 55.41 kB / 470.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1022, allocations: 157 kB / 470.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1022, allocations: 25.7 kB / 470.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.1023, allocations: 135.8 kB / 471 MB, free: 8.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1023, allocations: 27.56 kB / 471 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.1023, allocations: 7.938 kB / 471 MB, free: 8.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1024, allocations: 326.8 kB / 471.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.1025, allocations: 27.98 kB / 471.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.1026, allocations: 60.27 kB / 471.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1027, allocations: 36 kB / 471.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1027, allocations: 0 / 471.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002128/0.103, allocations: 133.3 kB / 471.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.103, allocations: 8 kB / 471.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.103, allocations: 0 / 471.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.103, allocations: 8.125 kB / 471.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1031, allocations: 27.92 kB / 471.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1032, allocations: 4 kB / 471.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.1032, allocations: 19.89 kB / 471.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1032, allocations: 4.312 kB / 471.7 MB, free: 7.406 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.1034, allocations: 125.7 kB / 471.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.1034, allocations: 15.86 kB / 471.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.1035, allocations: 16.72 kB / 471.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1035, allocations: 4 kB / 471.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1035, allocations: 0 / 471.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1035, allocations: 3.984 kB / 471.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.1037, allocations: 209.6 kB / 472 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1037, allocations: 0 / 472 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1039, allocations: 23.98 kB / 472.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1039, allocations: 3.938 kB / 472.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1039, allocations: 3.953 kB / 472.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1039, allocations: 0 / 472.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1039, allocations: 4 kB / 472.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.1042, allocations: 227.2 kB / 472.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1042, allocations: 85.05 kB / 472.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1043, allocations: 0 / 472.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.1044, allocations: 12.02 kB / 472.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1044, allocations: 7.984 kB / 472.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1044, allocations: 0 / 472.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.638e-05/0.1045, allocations: 117.7 kB / 472.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1045, allocations: 4 kB / 472.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1048, allocations: 31.84 kB / 472.6 MB, free: 6.438 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.25e-05/0.1049, allocations: 95.25 kB / 472.6 MB, free: 6.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1051, allocations: 75.91 kB / 472.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1051, allocations: 288 / 472.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.1051, allocations: 27.92 kB / 472.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1055, allocations: 23.8 kB / 472.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.1062, allocations: 449.8 kB / 473.2 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1065, allocations: 0.7158 MB / 473.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.193e-05/0.1066, allocations: 12.88 kB / 473.9 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.1066, allocations: 11.44 kB / 473.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1066, allocations: 0 / 473.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of Templates: time 0.003155/0.1098, allocations: 0.8768 MB / 474.8 MB, free: 4.109 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) Environment - environmentSimulation: