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.001132/0.001132, allocations: 110.8 kB / 16.37 MB, free: 6.469 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.31/1.31, allocations: 222.9 MB / 240 MB, free: 4.605 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.001255/0.001255, allocations: 196.4 kB / 290.3 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03505/0.03505, allocations: 8.787 MB / 349.3 MB, free: 4.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 81.69 kB / 412.5 MB, free: 41.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.09053, allocations: 51.57 MB / 464.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003513/0.09409, allocations: 2.188 MB / 466.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.09491, allocations: 0.4987 MB / 466.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.09503, allocations: 3.938 kB / 466.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.09517, allocations: 27.72 kB / 466.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.09526, allocations: 39.64 kB / 466.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.09549, allocations: 55.88 kB / 466.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.0957, allocations: 151.4 kB / 467.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.09587, allocations: 70.08 kB / 467.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.09595, allocations: 59.73 kB / 467.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.09606, allocations: 71.62 kB / 467.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.09609, allocations: 16 kB / 467.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.462e-05/0.09613, allocations: 12 kB / 467.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.09616, allocations: 27.92 kB / 467.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.09624, allocations: 79.59 kB / 467.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.09643, allocations: 171.3 kB / 467.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.09644, allocations: 0 / 467.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.09645, allocations: 0 / 467.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.09646, allocations: 4 kB / 467.6 MB, free: 10.17 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.0006079/0.09708, allocations: 454.8 kB / 468 MB, free: 9.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.09712, allocations: 16.02 kB / 468 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.09717, allocations: 20.66 kB / 468 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.09745, allocations: 208.1 kB / 468.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.09747, allocations: 12.38 kB / 468.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.09751, allocations: 20.38 kB / 468.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.09779, allocations: 165.1 kB / 468.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.09781, allocations: 3.938 kB / 468.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.09784, allocations: 8 kB / 468.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.09785, allocations: 7.984 kB / 468.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.09803, allocations: 84.8 kB / 468.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.09896, allocations: 0.7341 MB / 469.3 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.09916, allocations: 78.55 kB / 469.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.09925, allocations: 32.84 kB / 469.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.09928, allocations: 7.938 kB / 469.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.09931, allocations: 34.56 kB / 469.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.09932, allocations: 0 / 469.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003031/0.09963, allocations: 109.4 kB / 469.5 MB, free: 8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.09967, allocations: 55.41 kB / 469.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.09983, allocations: 162.2 kB / 469.7 MB, free: 7.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.09986, allocations: 29.7 kB / 469.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.09996, allocations: 135.5 kB / 469.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.09999, allocations: 27.64 kB / 469.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.1, allocations: 25.72 kB / 470 MB, free: 7.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1002, allocations: 322.8 kB / 470.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.1003, allocations: 27.98 kB / 470.3 MB, free: 7.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.681e-05/0.1004, allocations: 68.27 kB / 470.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1005, allocations: 92.22 kB / 470.5 MB, free: 6.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1005, allocations: 0 / 470.5 MB, free: 6.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002228/0.1007, allocations: 129.4 kB / 470.6 MB, free: 6.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.1008, allocations: 7.938 kB / 470.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1008, allocations: 4 kB / 470.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1008, allocations: 0 / 470.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.101, allocations: 23.98 kB / 470.6 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.101, allocations: 4 kB / 470.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.101, allocations: 16.06 kB / 470.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1011, allocations: 8 kB / 470.6 MB, free: 6.801 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.1012, allocations: 133.7 kB / 470.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.1012, allocations: 15.81 kB / 470.8 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.1013, allocations: 8.719 kB / 470.8 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1013, allocations: 4 kB / 470.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1013, allocations: 0 / 470.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1013, allocations: 3.938 kB / 470.8 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1015, allocations: 225.8 kB / 471 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1016, allocations: 7.938 kB / 471 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1017, allocations: 16 kB / 471 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1017, allocations: 0 / 471 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1017, allocations: 0 / 471 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1017, allocations: 3.984 kB / 471.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1017, allocations: 0 / 471.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.102, allocations: 219.2 kB / 471.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.1021, allocations: 85 kB / 471.3 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1021, allocations: 4.031 kB / 471.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.1022, allocations: 8 kB / 471.4 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1023, allocations: 7.922 kB / 471.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1023, allocations: 4 kB / 471.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.509e-05/0.1024, allocations: 111.3 kB / 471.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1024, allocations: 0 / 471.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1026, allocations: 31.84 kB / 471.5 MB, free: 5.836 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.1028, allocations: 103.3 kB / 471.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.103, allocations: 67.89 kB / 471.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.103, allocations: 0 / 471.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.774e-05/0.1031, allocations: 35.92 kB / 471.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1034, allocations: 20.12 kB / 471.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.1041, allocations: 361.4 kB / 472.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1044, allocations: 0.7158 MB / 472.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.596e-05/0.1045, allocations: 8.875 kB / 472.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.1045, allocations: 11.44 kB / 472.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1045, allocations: 0 / 472.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of Templates: time 0.003472/0.108, allocations: 0.9747 MB / 473.8 MB, free: 3.5 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile (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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)