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.006051/0.006051, allocations: 107 kB / 15.74 MB, free: 5.996 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.001204/0.001204, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.01375/0.01375, allocations: 2.952 MB / 293.5 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 406.3 MB, free: 28.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1044, allocations: 50.33 MB / 456.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002933/0.1074, allocations: 1.548 MB / 458.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000996/0.1084, allocations: 0.801 MB / 458.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.1085, allocations: 0 / 458.9 MB, free: 8.027 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo:165:3-189:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1088, allocations: 31.86 kB / 459 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.109, allocations: 47.83 kB / 459 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.428e-05/0.109, allocations: 0 / 459 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.1091, allocations: 27.92 kB / 459 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.1092, allocations: 15.88 kB / 459.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.1092, allocations: 11.97 kB / 459.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1094, allocations: 15.92 kB / 459.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1094, allocations: 4 kB / 459.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1095, allocations: 27.92 kB / 459.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.1095, allocations: 7.938 kB / 459.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1096, allocations: 15.92 kB / 459.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1097, allocations: 47.89 kB / 459.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1097, allocations: 0 / 459.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1097, allocations: 0 / 459.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1097, allocations: 0 / 459.2 MB, free: 7.777 MB / 334.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.0004403/0.1102, allocations: 343.5 kB / 459.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1102, allocations: 11.89 kB / 459.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1103, allocations: 8.844 kB / 459.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1104, allocations: 168.3 kB / 459.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1104, allocations: 4.375 kB / 459.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1105, allocations: 12.36 kB / 459.7 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1106, allocations: 38.2 kB / 459.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1106, allocations: 192 / 459.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1106, allocations: 7.922 kB / 459.8 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1106, allocations: 0 / 459.8 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.1107, allocations: 19.98 kB / 459.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.111, allocations: 241 kB / 460 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.1111, allocations: 38.45 kB / 460.1 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.1112, allocations: 20.91 kB / 460.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.1112, allocations: 3.938 kB / 460.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1112, allocations: 30.56 kB / 460.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1112, allocations: 0 / 460.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002216/0.1115, allocations: 73.5 kB / 460.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.1116, allocations: 51.41 kB / 460.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1117, allocations: 113.8 kB / 460.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1117, allocations: 25.7 kB / 460.4 MB, free: 6.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.1117, allocations: 80.14 kB / 460.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1118, allocations: 11.91 kB / 460.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.1118, allocations: 9.719 kB / 460.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1119, allocations: 315 kB / 460.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.1119, allocations: 19.94 kB / 460.8 MB, free: 5.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.112, allocations: 7.984 kB / 460.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.1121, allocations: 24.84 kB / 460.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1121, allocations: 0 / 460.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.1122, allocations: 49.62 kB / 460.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1122, allocations: 8 kB / 460.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1122, allocations: 4.094 kB / 460.9 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1122, allocations: 0 / 460.9 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.1123, allocations: 4 kB / 460.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1123, allocations: 0 / 460.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.1123, allocations: 7.906 kB / 460.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1124, allocations: 3.984 kB / 460.9 MB, free: 5.828 MB / 334.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 6.854e-05/0.1124, allocations: 114.4 kB / 461 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1125, allocations: 4 kB / 461 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.1125, allocations: 7.531 kB / 461 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1125, allocations: 4 kB / 461 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1125, allocations: 0 / 461 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1125, allocations: 0 / 461 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1127, allocations: 165.6 kB / 461.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1127, allocations: 0 / 461.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1127, allocations: 4 kB / 461.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1127, allocations: 4 kB / 461.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1128, allocations: 0 / 461.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1128, allocations: 3.938 kB / 461.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1128, allocations: 0 / 461.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.1129, allocations: 155.5 kB / 461.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.113, allocations: 85.02 kB / 461.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.113, allocations: 0 / 461.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.1131, allocations: 0 / 461.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1131, allocations: 7.938 kB / 461.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1131, allocations: 0 / 461.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.978e-05/0.1132, allocations: 91.3 kB / 461.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1132, allocations: 4 kB / 461.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1135, allocations: 12 kB / 461.5 MB, free: 5.082 MB / 334.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.0005663/0.114, allocations: 201.6 kB / 461.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1142, allocations: 15.98 kB / 461.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1142, allocations: 64 / 461.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.1143, allocations: 19.98 kB / 461.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1145, allocations: 10.89 kB / 461.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.1149, allocations: 122.1 kB / 461.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1151, allocations: 0.6805 MB / 462.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.1152, allocations: 7.984 kB / 462.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1152, allocations: 11.44 kB / 462.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1152, allocations: 4.062 kB / 462.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of Templates: time 0.00317/0.1184, allocations: 0.7034 MB / 463.3 MB, free: 3.289 MB / 334.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)