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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.00151/0.001511, allocations: 102.2 kB / 16.27 MB, free: 6 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.001239/0.00124, allocations: 191 kB / 17.2 MB, free: 5.609 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.02162/0.02162, allocations: 2.946 MB / 294 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 355.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2058, allocations: 50.33 MB / 405.7 MB, free: 32.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.00248/0.2084, allocations: 1.532 MB / 407.2 MB, free: 31.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.2092, allocations: 0.8073 MB / 408 MB, free: 30.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.2092, allocations: 0 / 408 MB, free: 30.29 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0003078/0.2095, allocations: 27.84 kB / 408 MB, free: 30.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.2097, allocations: 39.84 kB / 408.1 MB, free: 30.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.246e-05/0.2097, allocations: 0 / 408.1 MB, free: 30.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.89e-05/0.2098, allocations: 31.86 kB / 408.1 MB, free: 30.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.2098, allocations: 15.98 kB / 408.1 MB, free: 30.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.565e-05/0.2099, allocations: 11.92 kB / 408.1 MB, free: 30.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.21, allocations: 11.94 kB / 408.1 MB, free: 30.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.2101, allocations: 7.938 kB / 408.2 MB, free: 30.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.2101, allocations: 23.98 kB / 408.2 MB, free: 30.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.2102, allocations: 11.97 kB / 408.2 MB, free: 30.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.2102, allocations: 15.88 kB / 408.2 MB, free: 30.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2103, allocations: 43.89 kB / 408.2 MB, free: 30.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2103, allocations: 0 / 408.2 MB, free: 30.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2103, allocations: 4 kB / 408.2 MB, free: 30.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2103, allocations: 4 kB / 408.3 MB, free: 30.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003361/0.2107, allocations: 349.4 kB / 408.6 MB, free: 29.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.2107, allocations: 11.89 kB / 408.6 MB, free: 29.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.2107, allocations: 4.938 kB / 408.6 MB, free: 29.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2108, allocations: 184.2 kB / 408.8 MB, free: 29.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.2109, allocations: 384 / 408.8 MB, free: 29.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.2109, allocations: 384 / 408.8 MB, free: 29.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.61e-05/0.211, allocations: 42.23 kB / 408.8 MB, free: 29.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.211, allocations: 4.188 kB / 408.8 MB, free: 29.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.211, allocations: 7.938 kB / 408.8 MB, free: 29.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.211, allocations: 0 / 408.8 MB, free: 29.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.2111, allocations: 19.97 kB / 408.9 MB, free: 29.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.2113, allocations: 245 kB / 409.1 MB, free: 29.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.2114, allocations: 30.45 kB / 409.1 MB, free: 29.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.2114, allocations: 24.91 kB / 409.2 MB, free: 28.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-06/0.2115, allocations: 0 / 409.2 MB, free: 28.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.07e-05/0.2115, allocations: 30.56 kB / 409.2 MB, free: 28.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2115, allocations: 0 / 409.2 MB, free: 28.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001831/0.2117, allocations: 65.52 kB / 409.3 MB, free: 28.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.2117, allocations: 55.34 kB / 409.3 MB, free: 28.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.2118, allocations: 118 kB / 409.4 MB, free: 28.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.2118, allocations: 25.7 kB / 409.4 MB, free: 28.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.2118, allocations: 84.14 kB / 409.5 MB, free: 28.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.2118, allocations: 11.84 kB / 409.5 MB, free: 28.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.2119, allocations: 9.719 kB / 409.5 MB, free: 28.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.2119, allocations: 322.8 kB / 409.9 MB, free: 28.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.2119, allocations: 4 kB / 409.9 MB, free: 28.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.212, allocations: 11.98 kB / 409.9 MB, free: 28.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.212, allocations: 20.86 kB / 409.9 MB, free: 28.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.212, allocations: 3.984 kB / 409.9 MB, free: 28.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.246e-05/0.2121, allocations: 57.56 kB / 410 MB, free: 28.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.2122, allocations: 7.938 kB / 410 MB, free: 28.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2122, allocations: 0 / 410 MB, free: 28.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2122, allocations: 0 / 410 MB, free: 28.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.2122, allocations: 4 kB / 410 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.2123, allocations: 4.094 kB / 410 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.2123, allocations: 4 kB / 410 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.2123, allocations: 0 / 410 MB, free: 28.09 MB / 302.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 4.33e-05/0.2123, allocations: 117.8 kB / 410.1 MB, free: 27.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.2124, allocations: 7.906 kB / 410.1 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.2124, allocations: 7.531 kB / 410.1 MB, free: 27.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.2124, allocations: 0 / 410.1 MB, free: 27.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2124, allocations: 0 / 410.1 MB, free: 27.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.2124, allocations: 0 / 410.1 MB, free: 27.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2126, allocations: 169.6 kB / 410.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2126, allocations: 0 / 410.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.2126, allocations: 4 kB / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2126, allocations: 0 / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.2126, allocations: 0 / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2126, allocations: 0 / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2126, allocations: 4 kB / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.2127, allocations: 155.4 kB / 410.4 MB, free: 27.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.2128, allocations: 85.02 kB / 410.5 MB, free: 27.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2128, allocations: 0 / 410.5 MB, free: 27.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.2128, allocations: 0 / 410.5 MB, free: 27.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.2129, allocations: 7.938 kB / 410.5 MB, free: 27.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.2129, allocations: 0 / 410.5 MB, free: 27.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.2129, allocations: 91.27 kB / 410.6 MB, free: 27.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2129, allocations: 0 / 410.6 MB, free: 27.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.2131, allocations: 12 kB / 410.6 MB, free: 27.34 MB / 302.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.0005993/0.2137, allocations: 201.9 kB / 410.8 MB, free: 27.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2139, allocations: 23.92 kB / 410.8 MB, free: 27.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2139, allocations: 0 / 410.8 MB, free: 27.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.2139, allocations: 11.98 kB / 410.9 MB, free: 27.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.2142, allocations: 7.938 kB / 410.9 MB, free: 27.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.2144, allocations: 151.9 kB / 411 MB, free: 26.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.917e-05/0.2145, allocations: 0.6768 MB / 411.7 MB, free: 26.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.2146, allocations: 19.42 kB / 411.7 MB, free: 26.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2146, allocations: 0 / 411.7 MB, free: 26.23 MB / 302.1 MB Notification: Performance of Templates: time 0.002131/0.2167, allocations: 0.9326 MB / 412.6 MB, free: 25.3 MB / 302.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)