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.0008278/0.0008277, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005201/0.005201, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1443/0.1443, allocations: 2.941 MB / 294.4 MB, free: 3.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 8 kB / 356.5 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1047, allocations: 51.36 MB / 407.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.0018/0.1065, allocations: 1.256 MB / 409.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1075, allocations: 0.7813 MB / 409.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.1076, allocations: 0 / 409.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1078, allocations: 31.86 kB / 409.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.108, allocations: 31.91 kB / 409.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.473e-05/0.108, allocations: 7.938 kB / 409.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.1081, allocations: 23.92 kB / 410 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.958e-05/0.1081, allocations: 12 kB / 410 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.1082, allocations: 15.91 kB / 410 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1083, allocations: 11.94 kB / 410 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.1083, allocations: 0 / 410 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.1084, allocations: 27.92 kB / 410 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.1084, allocations: 0 / 410 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.1085, allocations: 45.61 kB / 410.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1086, allocations: 39.89 kB / 410.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1086, allocations: 0 / 410.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1086, allocations: 0 / 410.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.1087, allocations: 4 kB / 410.1 MB, free: 13.62 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.0004167/0.1091, allocations: 347.7 kB / 410.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1091, allocations: 11.97 kB / 410.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.1092, allocations: 8.844 kB / 410.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1093, allocations: 168.3 kB / 410.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1093, allocations: 4.375 kB / 410.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.1093, allocations: 4.375 kB / 410.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.1094, allocations: 42.25 kB / 410.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1095, allocations: 192 / 410.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1095, allocations: 7.938 kB / 410.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1095, allocations: 0 / 410.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/0.1096, allocations: 19.98 kB / 410.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.1099, allocations: 252.9 kB / 411 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.578e-05/0.11, allocations: 38.45 kB / 411 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.11, allocations: 20.91 kB / 411 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.11, allocations: 0 / 411 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1101, allocations: 30.56 kB / 411 MB, free: 12.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1101, allocations: 0 / 411 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002102/0.1103, allocations: 65.59 kB / 411.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1103, allocations: 59.33 kB / 411.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1104, allocations: 117.8 kB / 411.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1105, allocations: 25.7 kB / 411.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.1105, allocations: 84.14 kB / 411.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.1105, allocations: 7.906 kB / 411.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.1105, allocations: 13.84 kB / 411.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.1106, allocations: 314.8 kB / 411.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.1107, allocations: 11.98 kB / 411.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.1107, allocations: 8 kB / 411.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.1108, allocations: 32.91 kB / 411.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1108, allocations: 0 / 411.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001076/0.1109, allocations: 57.56 kB / 411.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.111, allocations: 11.98 kB / 411.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.111, allocations: 0 / 411.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.111, allocations: 0 / 411.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.1111, allocations: 4 kB / 411.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1111, allocations: 0 / 411.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.1111, allocations: 8.031 kB / 411.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1111, allocations: 0 / 411.8 MB, free: 11.65 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.113e-05/0.1112, allocations: 117.7 kB / 412 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1112, allocations: 7.891 kB / 412 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.1112, allocations: 7.531 kB / 412 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1113, allocations: 4 kB / 412 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1113, allocations: 0 / 412 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1113, allocations: 0 / 412 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1114, allocations: 161.6 kB / 412.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1114, allocations: 0 / 412.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.1115, allocations: 11.98 kB / 412.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1115, allocations: 0 / 412.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1115, allocations: 0 / 412.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1115, allocations: 4 kB / 412.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1115, allocations: 0 / 412.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1117, allocations: 163.4 kB / 412.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1117, allocations: 85 kB / 412.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1117, allocations: 4 kB / 412.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.1118, allocations: 0 / 412.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.1118, allocations: 4 kB / 412.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.1118, allocations: 0 / 412.4 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.1119, allocations: 95.33 kB / 412.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1119, allocations: 0 / 412.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1121, allocations: 12.03 kB / 412.5 MB, free: 10.9 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.0004497/0.1126, allocations: 191.8 kB / 412.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1127, allocations: 19.98 kB / 412.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1127, allocations: 0 / 412.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.1128, allocations: 23.98 kB / 412.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.113, allocations: 7.938 kB / 412.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.1133, allocations: 142.5 kB / 412.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1135, allocations: 0.677 MB / 413.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.431e-05/0.1136, allocations: 12.06 kB / 413.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1136, allocations: 11.44 kB / 413.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1136, allocations: 0 / 413.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Templates: time 0.002847/0.1165, allocations: 0.6571 MB / 414.2 MB, free: 9.141 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)