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-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.001232/0.001232, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001246/0.001246, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.278/1.278, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01153/0.01153, allocations: 2.954 MB / 293.7 MB, free: 11.81 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001858, allocations: 59.91 kB / 354.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1849, allocations: 50.33 MB / 405.2 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002599/0.1875, allocations: 1.591 MB / 406.8 MB, free: 31.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008459/0.1884, allocations: 0.7848 MB / 407.5 MB, free: 30.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.1884, allocations: 4 kB / 407.5 MB, free: 30.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1887, allocations: 35.84 kB / 407.6 MB, free: 30.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1888, allocations: 27.91 kB / 407.6 MB, free: 30.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.351e-05/0.1889, allocations: 7.984 kB / 407.6 MB, free: 30.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.1889, allocations: 27.94 kB / 407.6 MB, free: 30.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.189, allocations: 7.984 kB / 407.6 MB, free: 30.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.1891, allocations: 17.5 kB / 407.7 MB, free: 30.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1892, allocations: 15.92 kB / 407.7 MB, free: 30.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.1893, allocations: 4 kB / 407.7 MB, free: 30.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.1894, allocations: 27.97 kB / 407.7 MB, free: 30.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.1894, allocations: 0 / 407.7 MB, free: 30.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.1894, allocations: 19.41 kB / 407.7 MB, free: 30.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.112e-05/0.1895, allocations: 39.94 kB / 407.8 MB, free: 30.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1895, allocations: 4 kB / 407.8 MB, free: 30.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1895, allocations: 0 / 407.8 MB, free: 30.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1895, allocations: 0 / 407.8 MB, free: 30.18 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.0003076/0.1898, allocations: 349.3 kB / 408.1 MB, free: 29.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.1899, allocations: 15.89 kB / 408.1 MB, free: 29.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.1899, allocations: 0.9375 kB / 408.1 MB, free: 29.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/0.19, allocations: 173.4 kB / 408.3 MB, free: 29.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1901, allocations: 4.375 kB / 408.3 MB, free: 29.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.1901, allocations: 8.359 kB / 408.3 MB, free: 29.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1902, allocations: 34.27 kB / 408.3 MB, free: 29.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1902, allocations: 192 / 408.3 MB, free: 29.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1902, allocations: 11.91 kB / 408.4 MB, free: 29.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1902, allocations: 0 / 408.4 MB, free: 29.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.1903, allocations: 19.98 kB / 408.4 MB, free: 29.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.1905, allocations: 244.9 kB / 408.6 MB, free: 29.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.1906, allocations: 34.52 kB / 408.7 MB, free: 29.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.1906, allocations: 20.91 kB / 408.7 MB, free: 29.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.1907, allocations: 0 / 408.7 MB, free: 29.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.1907, allocations: 34.5 kB / 408.7 MB, free: 29.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1907, allocations: 0 / 408.7 MB, free: 29.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001824/0.1909, allocations: 69.52 kB / 408.8 MB, free: 29.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.695e-05/0.1909, allocations: 51.41 kB / 408.8 MB, free: 28.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.191, allocations: 113.8 kB / 408.9 MB, free: 28.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.191, allocations: 25.7 kB / 409 MB, free: 28.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.191, allocations: 84.14 kB / 409 MB, free: 28.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.1911, allocations: 11.84 kB / 409.1 MB, free: 28.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1911, allocations: 9.719 kB / 409.1 MB, free: 28.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.1912, allocations: 318.8 kB / 409.4 MB, free: 28.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.1912, allocations: 12.12 kB / 409.4 MB, free: 28.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.1912, allocations: 7.984 kB / 409.4 MB, free: 28.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/0.1913, allocations: 28.78 kB / 409.4 MB, free: 28.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1913, allocations: 4 kB / 409.4 MB, free: 28.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.812e-05/0.1914, allocations: 57.56 kB / 409.5 MB, free: 28.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1914, allocations: 6.656 kB / 409.5 MB, free: 28.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1914, allocations: 4.094 kB / 409.5 MB, free: 28.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1914, allocations: 0 / 409.5 MB, free: 28.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.1915, allocations: 4 kB / 409.5 MB, free: 28.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1915, allocations: 0 / 409.5 MB, free: 28.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.1915, allocations: 4 kB / 409.5 MB, free: 28.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1916, allocations: 3.984 kB / 409.5 MB, free: 28.23 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.779e-05/0.1916, allocations: 113.8 kB / 409.6 MB, free: 28.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1916, allocations: 3.906 kB / 409.6 MB, free: 28.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.1917, allocations: 7.531 kB / 409.6 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1917, allocations: 4 kB / 409.6 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1917, allocations: 4 kB / 409.6 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1917, allocations: 0 / 409.6 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.1918, allocations: 161.6 kB / 409.8 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1918, allocations: 0 / 409.8 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.1918, allocations: 4 kB / 409.8 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1918, allocations: 0 / 409.8 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.1919, allocations: 0 / 409.8 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1919, allocations: 4 kB / 409.8 MB, free: 27.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1919, allocations: 3.938 kB / 409.8 MB, free: 27.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.192, allocations: 155.5 kB / 410 MB, free: 27.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.1921, allocations: 84.95 kB / 410 MB, free: 27.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1921, allocations: 0 / 410 MB, free: 27.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.664e-05/0.1922, allocations: 4 kB / 410 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.1922, allocations: 0 / 410 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.1922, allocations: 0 / 410 MB, free: 27.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.152e-05/0.1922, allocations: 91.3 kB / 410.1 MB, free: 27.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1922, allocations: 4 kB / 410.1 MB, free: 27.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1925, allocations: 12 kB / 410.1 MB, free: 27.49 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.0004697/0.1929, allocations: 191.7 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1931, allocations: 23.92 kB / 410.4 MB, free: 27.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1931, allocations: 64 / 410.4 MB, free: 27.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.1931, allocations: 15.98 kB / 410.4 MB, free: 27.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1934, allocations: 14.73 kB / 410.4 MB, free: 27.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.1936, allocations: 159.7 kB / 410.5 MB, free: 27.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.1937, allocations: 0.6807 MB / 411.2 MB, free: 26.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1938, allocations: 15.48 kB / 411.2 MB, free: 26.37 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1938, allocations: 4 kB / 411.2 MB, free: 26.37 MB / 302.1 MB Notification: Performance of Templates: time 0.002004/0.1958, allocations: 0.9294 MB / 412.2 MB, free: 25.44 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)