Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.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/Complex 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/ExternData 3.0.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") translateModel(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001565, allocations: 107.4 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001834, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1255/0.1255, allocations: 2.942 MB / 292.9 MB, free: 3.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 64.09 kB / 354 MB, free: 4.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09737, allocations: 50.34 MB / 404.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003013/0.1004, allocations: 1.601 MB / 405.9 MB, free: 264 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1016, allocations: 0.7929 MB / 406.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.1016, allocations: 0 / 406.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1019, allocations: 27.92 kB / 406.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.1021, allocations: 35.91 kB / 406.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.103e-05/0.1021, allocations: 0 / 406.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.201e-05/0.1022, allocations: 27.92 kB / 406.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.1022, allocations: 4 kB / 406.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.054e-05/0.1023, allocations: 15.88 kB / 406.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.1024, allocations: 15.91 kB / 406.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1024, allocations: 4 kB / 406.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.1025, allocations: 27.98 kB / 406.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1025, allocations: 0 / 406.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.1026, allocations: 19.86 kB / 406.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1027, allocations: 47.89 kB / 406.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1027, allocations: 3.938 kB / 406.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1027, allocations: 0 / 406.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1027, allocations: 0 / 406.9 MB, free: 15.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004141/0.1031, allocations: 343.7 kB / 407.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1032, allocations: 12.03 kB / 407.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.1032, allocations: 4.844 kB / 407.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1034, allocations: 168.4 kB / 407.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1034, allocations: 4.375 kB / 407.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1034, allocations: 384 / 407.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1036, allocations: 42.25 kB / 407.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1036, allocations: 192 / 407.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1036, allocations: 3.938 kB / 407.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1036, allocations: 4 kB / 407.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.1037, allocations: 15.98 kB / 407.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.1041, allocations: 264.8 kB / 407.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.1042, allocations: 42.42 kB / 407.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.1042, allocations: 8.922 kB / 407.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1042, allocations: 0 / 407.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1043, allocations: 38.55 kB / 407.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1043, allocations: 0 / 407.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000223/0.1045, allocations: 61.62 kB / 407.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.1045, allocations: 51.41 kB / 408 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.1047, allocations: 109.8 kB / 408.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1047, allocations: 29.7 kB / 408.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.1047, allocations: 88.12 kB / 408.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1048, allocations: 3.906 kB / 408.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.1048, allocations: 17.72 kB / 408.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1049, allocations: 315 kB / 408.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.1049, allocations: 15.92 kB / 408.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.105, allocations: 4 kB / 408.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.569e-05/0.1051, allocations: 24.84 kB / 408.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1051, allocations: 0 / 408.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001293/0.1052, allocations: 61.47 kB / 408.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1052, allocations: 8.094 kB / 408.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1052, allocations: 0 / 408.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1053, allocations: 0 / 408.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.1053, allocations: 7.984 kB / 408.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1053, allocations: 4 kB / 408.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.1054, allocations: 4 kB / 408.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.1054, allocations: 0 / 408.7 MB, free: 13.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.784e-05/0.1055, allocations: 113.8 kB / 408.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1055, allocations: 0 / 408.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.1055, allocations: 11.53 kB / 408.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1055, allocations: 7.984 kB / 408.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1055, allocations: 0 / 408.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1056, allocations: 0 / 408.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1057, allocations: 157.6 kB / 408.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1057, allocations: 0 / 408.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.1058, allocations: 7.984 kB / 409 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.1058, allocations: 4 kB / 409 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-06/0.1058, allocations: 3.938 kB / 409 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1058, allocations: 0 / 409 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1058, allocations: 0 / 409 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.106, allocations: 155.4 kB / 409.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.106, allocations: 77.11 kB / 409.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.106, allocations: 0 / 409.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.1061, allocations: 7.984 kB / 409.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1061, allocations: 3.938 kB / 409.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1061, allocations: 0 / 409.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.1062, allocations: 95.3 kB / 409.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1062, allocations: 0 / 409.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1065, allocations: 12 kB / 409.3 MB, free: 12.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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.0005139/0.107, allocations: 188.4 kB / 409.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.1071, allocations: 27.92 kB / 409.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1071, allocations: 4.062 kB / 409.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.1072, allocations: 8 kB / 409.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1074, allocations: 11.92 kB / 409.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.1078, allocations: 127.8 kB / 409.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.108, allocations: 0.6776 MB / 410.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.521e-05/0.1081, allocations: 8.062 kB / 410.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.1081, allocations: 19.36 kB / 410.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1081, allocations: 0 / 410.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Templates: time 0.002906/0.111, allocations: 0.6644 MB / 411 MB, free: 10.79 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.SSVTest.makefile (rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & ./ExternData_ExternData.Examples.SSVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1)