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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03823/0.03823, allocations: 8.793 MB / 25.52 MB, free: 3.75 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 251.3 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 97.33 kB / 303.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 366 MB, free: 180 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1964, allocations: 51.55 MB / 417.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002764/0.1992, allocations: 2.253 MB / 419.8 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00056/0.1997, allocations: 498.7 kB / 420.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.558e-05/0.1998, allocations: 4 kB / 420.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.2, allocations: 19.84 kB / 420.3 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.2001, allocations: 27.78 kB / 420.3 MB, free: 18.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.2002, allocations: 39.95 kB / 420.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.2004, allocations: 163.3 kB / 420.5 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2005, allocations: 53.98 kB / 420.6 MB, free: 17.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.2006, allocations: 67.72 kB / 420.6 MB, free: 17.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2007, allocations: 63.69 kB / 420.7 MB, free: 17.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.2007, allocations: 8 kB / 420.7 MB, free: 17.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.2008, allocations: 12 kB / 420.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.2008, allocations: 27.86 kB / 420.7 MB, free: 17.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.2009, allocations: 75.59 kB / 420.8 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.201, allocations: 155.5 kB / 421 MB, free: 17.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.201, allocations: 0 / 421 MB, free: 17.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.201, allocations: 3.938 kB / 421 MB, free: 17.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.201, allocations: 0 / 421 MB, free: 17.46 MB / 298.7 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.0005409/0.2016, allocations: 462.8 kB / 421.4 MB, free: 16.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2016, allocations: 8.031 kB / 421.4 MB, free: 16.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.2017, allocations: 20.75 kB / 421.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.2019, allocations: 216 kB / 421.7 MB, free: 16.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2019, allocations: 12.38 kB / 421.7 MB, free: 16.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.2019, allocations: 16.31 kB / 421.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2021, allocations: 169.1 kB / 421.9 MB, free: 16.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2022, allocations: 4 kB / 421.9 MB, free: 16.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2022, allocations: 7.938 kB / 421.9 MB, free: 16.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2022, allocations: 4 kB / 421.9 MB, free: 16.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2023, allocations: 92.73 kB / 422 MB, free: 16.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.203, allocations: 0.7341 MB / 422.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2032, allocations: 70.61 kB / 422.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.2032, allocations: 36.84 kB / 422.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.2033, allocations: 0 / 422.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2033, allocations: 42.5 kB / 422.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.2033, allocations: 4 kB / 422.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002375/0.2035, allocations: 97.48 kB / 422.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.2036, allocations: 55.56 kB / 423 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.2037, allocations: 162.5 kB / 423.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2037, allocations: 25.7 kB / 423.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.2037, allocations: 147.4 kB / 423.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2038, allocations: 23.7 kB / 423.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.2038, allocations: 29.72 kB / 423.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.2039, allocations: 322.8 kB / 423.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.2039, allocations: 27.98 kB / 423.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.204, allocations: 60.22 kB / 423.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2041, allocations: 96.2 kB / 423.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2041, allocations: 0 / 423.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001709/0.2043, allocations: 129.4 kB / 424 MB, free: 14.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.2043, allocations: 4 kB / 424 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2044, allocations: 128 / 424 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2044, allocations: 8 kB / 424 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2045, allocations: 27.92 kB / 424 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2045, allocations: 0 / 424 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.2046, allocations: 23.78 kB / 424.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.2046, allocations: 4 kB / 424.1 MB, free: 14.08 MB / 298.7 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 5.905e-05/0.2046, allocations: 126.3 kB / 424.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.2047, allocations: 7.906 kB / 424.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.2047, allocations: 12.72 kB / 424.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2047, allocations: 4 kB / 424.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2047, allocations: 0 / 424.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2047, allocations: 11.92 kB / 424.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.2049, allocations: 221.5 kB / 424.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2049, allocations: 3.938 kB / 424.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.205, allocations: 19.94 kB / 424.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.205, allocations: 0 / 424.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.205, allocations: 4 kB / 424.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.205, allocations: 0 / 424.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.205, allocations: 0 / 424.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.2059, allocations: 1.27 MB / 425.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.2059, allocations: 84.95 kB / 425.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.206, allocations: 11.97 kB / 425.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.2061, allocations: 7.984 kB / 425.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.2061, allocations: 0 / 425.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2061, allocations: 4 kB / 425.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.2062, allocations: 115.2 kB / 426 MB, free: 11.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2062, allocations: 0 / 426 MB, free: 11.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.2065, allocations: 39.91 kB / 426 MB, free: 11.94 MB / 298.7 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 6.666e-05/0.2065, allocations: 95.31 kB / 426.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.2067, allocations: 71.89 kB / 426.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2067, allocations: 288 / 426.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.2068, allocations: 31.92 kB / 426.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2071, allocations: 26.73 kB / 426.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.2078, allocations: 0.5444 MB / 426.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2079, allocations: 0.7158 MB / 427.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.208, allocations: 8.875 kB / 427.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.208, allocations: 15.44 kB / 427.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.208, allocations: 0 / 427.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of Templates: time 0.002627/0.2106, allocations: 1.031 MB / 428.5 MB, free: 9.34 MB / 298.7 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)