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.0009723/0.0009723, 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.225/1.225, 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.001112/0.001112, allocations: 188.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03155/0.03155, allocations: 8.789 MB / 348.1 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 75.89 kB / 410.4 MB, free: 42.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09148, allocations: 51.56 MB / 461.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004036/0.09556, allocations: 2.251 MB / 464.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008347/0.09643, allocations: 0.491 MB / 464.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.09658, allocations: 7.938 kB / 464.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.09673, allocations: 19.86 kB / 464.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.09681, allocations: 31.75 kB / 464.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.097, allocations: 35.91 kB / 464.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.09721, allocations: 155.4 kB / 464.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.09738, allocations: 53.52 kB / 465 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.09745, allocations: 55.8 kB / 465 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.09757, allocations: 75.56 kB / 465.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.09761, allocations: 8 kB / 465.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.891e-05/0.09764, allocations: 12 kB / 465.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.09769, allocations: 23.92 kB / 465.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.09777, allocations: 75.59 kB / 465.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.09795, allocations: 163.6 kB / 465.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.09797, allocations: 4 kB / 465.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.09797, allocations: 0 / 465.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.09798, allocations: 0 / 465.4 MB, free: 11.41 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.0007155/0.0987, allocations: 454.8 kB / 465.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.09875, allocations: 8.031 kB / 465.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.09882, allocations: 20.66 kB / 465.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.09905, allocations: 222.4 kB / 466.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.09907, allocations: 8.375 kB / 466.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.09911, allocations: 16.38 kB / 466.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.09942, allocations: 169 kB / 466.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.09944, allocations: 0 / 466.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.09946, allocations: 8 kB / 466.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.09947, allocations: 4 kB / 466.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.09967, allocations: 96.73 kB / 466.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.1006, allocations: 0.7302 MB / 467.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1008, allocations: 70.62 kB / 467.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.1008, allocations: 41 kB / 467.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.1009, allocations: 0 / 467.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1009, allocations: 38.53 kB / 467.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1009, allocations: 0 / 467.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002759/0.1012, allocations: 105.4 kB / 467.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1012, allocations: 51.41 kB / 467.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1014, allocations: 172.7 kB / 467.6 MB, free: 9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1014, allocations: 29.7 kB / 467.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.1015, allocations: 135.5 kB / 467.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1015, allocations: 23.66 kB / 467.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.1016, allocations: 29.7 kB / 467.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1017, allocations: 322.8 kB / 468.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.1017, allocations: 23.98 kB / 468.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.1018, allocations: 64.28 kB / 468.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.102, allocations: 88.16 kB / 468.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.102, allocations: 0 / 468.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000212/0.1022, allocations: 137.3 kB / 468.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1022, allocations: 8 kB / 468.4 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1023, allocations: 7.938 kB / 468.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1023, allocations: 0 / 468.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1024, allocations: 27.98 kB / 468.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1024, allocations: 320 / 468.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.1025, allocations: 15.88 kB / 468.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1025, allocations: 4.125 kB / 468.5 MB, free: 8.039 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.0001085/0.1026, allocations: 129.8 kB / 468.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1027, allocations: 11.81 kB / 468.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.1027, allocations: 16.7 kB / 468.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1027, allocations: 0 / 468.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1027, allocations: 0 / 468.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1027, allocations: 3.938 kB / 468.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1029, allocations: 225.5 kB / 468.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.103, allocations: 0 / 468.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1031, allocations: 20.08 kB / 468.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1031, allocations: 3.938 kB / 468.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1031, allocations: 8 kB / 468.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1031, allocations: 3.984 kB / 468.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1031, allocations: 3.938 kB / 468.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1034, allocations: 203.4 kB / 469.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.1034, allocations: 89.05 kB / 469.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1035, allocations: 64 / 469.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.1036, allocations: 11.98 kB / 469.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1036, allocations: 7.938 kB / 469.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1036, allocations: 0 / 469.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.1037, allocations: 118.3 kB / 469.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1037, allocations: 0 / 469.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1039, allocations: 35.84 kB / 469.3 MB, free: 7.074 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 9.42e-05/0.104, allocations: 95.19 kB / 469.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.1042, allocations: 75.91 kB / 469.5 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1042, allocations: 0 / 469.5 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.1043, allocations: 27.97 kB / 469.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1047, allocations: 19.84 kB / 469.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.1053, allocations: 426.8 kB / 470 MB, free: 6.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1056, allocations: 0.7119 MB / 470.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.863e-05/0.1056, allocations: 8.891 kB / 470.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.1057, allocations: 15.44 kB / 470.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1057, allocations: 0 / 470.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of Templates: time 0.003014/0.1087, allocations: 0.9116 MB / 471.6 MB, free: 4.746 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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)