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.001523/0.001524, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.676 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.001628/0.001628, allocations: 195.7 kB / 290.2 MB, free: 2.395 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03451/0.03451, allocations: 8.807 MB / 349.2 MB, free: 4.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 81.02 kB / 411.8 MB, free: 42.17 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09825, allocations: 51.56 MB / 463.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003496/0.1018, allocations: 2.196 MB / 465.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008091/0.1026, allocations: 0.4987 MB / 466 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1027, allocations: 0 / 466 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1029, allocations: 31.72 kB / 466 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.006e-05/0.103, allocations: 31.7 kB / 466.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.1032, allocations: 55.88 kB / 466.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1034, allocations: 159.3 kB / 466.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1036, allocations: 62.08 kB / 466.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.1037, allocations: 67.78 kB / 466.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1038, allocations: 67.7 kB / 466.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.1039, allocations: 15.94 kB / 466.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.1039, allocations: 19.94 kB / 466.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.1039, allocations: 35.89 kB / 466.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.104, allocations: 79.55 kB / 466.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1042, allocations: 163.6 kB / 466.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1042, allocations: 4 kB / 466.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1042, allocations: 0 / 466.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1043, allocations: 0 / 466.8 MB, free: 10.95 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.0006339/0.1049, allocations: 458.8 kB / 467.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1049, allocations: 8.031 kB / 467.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.105, allocations: 20.66 kB / 467.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1052, allocations: 216.1 kB / 467.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1053, allocations: 8.375 kB / 467.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.1053, allocations: 16.38 kB / 467.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.1056, allocations: 169.1 kB / 467.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1056, allocations: 0 / 467.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.1057, allocations: 12 kB / 467.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1057, allocations: 4 kB / 467.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1059, allocations: 88.73 kB / 467.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009216/0.1068, allocations: 0.7302 MB / 468.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.107, allocations: 78.55 kB / 468.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.1071, allocations: 36.84 kB / 468.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1071, allocations: 0 / 468.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1071, allocations: 30.56 kB / 468.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1071, allocations: 4 kB / 468.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002866/0.1074, allocations: 105.5 kB / 468.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1075, allocations: 59.33 kB / 468.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1076, allocations: 157 kB / 468.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1076, allocations: 29.7 kB / 469 MB, free: 8.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.1077, allocations: 135.5 kB / 469.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1078, allocations: 31.78 kB / 469.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.1078, allocations: 29.72 kB / 469.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1079, allocations: 322.8 kB / 469.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.108, allocations: 23.98 kB / 469.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.1081, allocations: 64.27 kB / 469.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1083, allocations: 96.16 kB / 469.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1083, allocations: 0 / 469.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002084/0.1085, allocations: 125.4 kB / 469.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1085, allocations: 8 kB / 469.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1085, allocations: 128 / 469.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1085, allocations: 11.92 kB / 469.8 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1087, allocations: 35.92 kB / 469.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1087, allocations: 0 / 469.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.1088, allocations: 15.92 kB / 469.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1088, allocations: 4 kB / 469.9 MB, free: 7.578 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 9.752e-05/0.1089, allocations: 133.7 kB / 470 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.1089, allocations: 11.81 kB / 470 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.109, allocations: 16.72 kB / 470 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.109, allocations: 4 kB / 470 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.109, allocations: 0 / 470 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.109, allocations: 3.938 kB / 470 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.1092, allocations: 225.5 kB / 470.2 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1092, allocations: 0 / 470.2 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1093, allocations: 12 kB / 470.3 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1094, allocations: 0 / 470.3 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1094, allocations: 7.984 kB / 470.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1094, allocations: 0 / 470.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1094, allocations: 0 / 470.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1097, allocations: 219.6 kB / 470.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1097, allocations: 89.03 kB / 470.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1097, allocations: 0 / 470.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.1098, allocations: 4 kB / 470.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1099, allocations: 11.92 kB / 470.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1099, allocations: 4 kB / 470.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.017e-05/0.11, allocations: 115.3 kB / 470.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.11, allocations: 0 / 470.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1103, allocations: 35.94 kB / 470.7 MB, free: 6.609 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 8.48e-05/0.1103, allocations: 95.19 kB / 470.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1105, allocations: 71.91 kB / 470.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1106, allocations: 0 / 470.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.1106, allocations: 32.17 kB / 470.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.111, allocations: 24.27 kB / 471 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.1117, allocations: 394.8 kB / 471.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.112, allocations: 0.7158 MB / 472.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.112, allocations: 11.44 kB / 472.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of SimCode: time 1.723e-06/0.112, allocations: 0 / 472.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of Templates: time 0.003189/0.1152, allocations: 1.511 MB / 473.6 MB, free: 3.707 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)