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.001102/0.001102, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001205/0.001205, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01298/0.01298, allocations: 2.953 MB / 294.1 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 356.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1964, allocations: 50.34 MB / 406.4 MB, free: 32.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002308/0.1988, allocations: 1.538 MB / 408 MB, free: 30.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.1995, allocations: 0.7971 MB / 408.8 MB, free: 30.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.1996, allocations: 1.438 kB / 408.8 MB, free: 30.14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0002769/0.1998, allocations: 35.84 kB / 408.8 MB, free: 30.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2, allocations: 35.83 kB / 408.9 MB, free: 30.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.291e-05/0.2, allocations: 8 kB / 408.9 MB, free: 30.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.2001, allocations: 27.92 kB / 408.9 MB, free: 30.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.2001, allocations: 4 kB / 408.9 MB, free: 30.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.2002, allocations: 15.92 kB / 408.9 MB, free: 30.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2003, allocations: 15.88 kB / 408.9 MB, free: 30 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-06/0.2003, allocations: 0 / 408.9 MB, free: 30 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.011e-05/0.2004, allocations: 35.91 kB / 409 MB, free: 29.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.2004, allocations: 7.984 kB / 409 MB, free: 29.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.2004, allocations: 11.88 kB / 409 MB, free: 29.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.2005, allocations: 51.88 kB / 409 MB, free: 29.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2006, allocations: 4 kB / 409 MB, free: 29.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2006, allocations: 0 / 409 MB, free: 29.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2006, allocations: 0 / 409 MB, free: 29.89 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.0003119/0.2009, allocations: 347.3 kB / 409.4 MB, free: 29.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.2009, allocations: 12.03 kB / 409.4 MB, free: 29.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.201, allocations: 4.922 kB / 409.4 MB, free: 29.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.2011, allocations: 174.1 kB / 409.6 MB, free: 29.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.2011, allocations: 384 / 409.6 MB, free: 29.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2011, allocations: 384 / 409.6 MB, free: 29.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.853e-05/0.2012, allocations: 50.19 kB / 409.6 MB, free: 29.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.2012, allocations: 192 / 409.6 MB, free: 29.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.2012, allocations: 3.938 kB / 409.6 MB, free: 29.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2012, allocations: 0 / 409.6 MB, free: 29.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.076e-05/0.2013, allocations: 15.98 kB / 409.6 MB, free: 29.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.2015, allocations: 249 kB / 409.9 MB, free: 28.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/0.2016, allocations: 42.45 kB / 409.9 MB, free: 28.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.2016, allocations: 12.91 kB / 409.9 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.2016, allocations: 0 / 409.9 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.036e-05/0.2016, allocations: 30.56 kB / 410 MB, free: 28.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.704e-06/0.2017, allocations: 0 / 410 MB, free: 28.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.2018, allocations: 65.52 kB / 410 MB, free: 28.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.2019, allocations: 55.53 kB / 410.1 MB, free: 28.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.2019, allocations: 117.8 kB / 410.2 MB, free: 28.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.2019, allocations: 25.7 kB / 410.2 MB, free: 28.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.202, allocations: 88.14 kB / 410.3 MB, free: 28.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.202, allocations: 7.844 kB / 410.3 MB, free: 28.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.202, allocations: 13.72 kB / 410.3 MB, free: 28.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.2021, allocations: 318.8 kB / 410.6 MB, free: 28.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.2021, allocations: 8 kB / 410.6 MB, free: 28.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.2021, allocations: 11.98 kB / 410.6 MB, free: 28.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.2022, allocations: 20.86 kB / 410.7 MB, free: 28.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2022, allocations: 0 / 410.7 MB, free: 28.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.466e-05/0.2023, allocations: 57.61 kB / 410.7 MB, free: 27.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.2023, allocations: 4 kB / 410.7 MB, free: 27.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2023, allocations: 0 / 410.7 MB, free: 27.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2023, allocations: 4.094 kB / 410.7 MB, free: 27.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.2024, allocations: 11.88 kB / 410.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2024, allocations: 4 kB / 410.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.2024, allocations: 0 / 410.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-06/0.2024, allocations: 0 / 410.7 MB, free: 27.95 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.068e-05/0.2025, allocations: 121.8 kB / 410.9 MB, free: 27.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2025, allocations: 3.906 kB / 410.9 MB, free: 27.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.2025, allocations: 3.531 kB / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2025, allocations: 4 kB / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2025, allocations: 4 kB / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2026, allocations: 0 / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.2027, allocations: 169.6 kB / 411 MB, free: 27.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2027, allocations: 0 / 411 MB, free: 27.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.2027, allocations: 4 kB / 411.1 MB, free: 27.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2027, allocations: 4 kB / 411.1 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.2027, allocations: 0 / 411.1 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2027, allocations: 0 / 411.1 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2027, allocations: 0 / 411.1 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/0.2028, allocations: 151.4 kB / 411.2 MB, free: 27.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.2029, allocations: 85 kB / 411.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2029, allocations: 0 / 411.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.2029, allocations: 7.938 kB / 411.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.203, allocations: 0 / 411.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.203, allocations: 0 / 411.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.203, allocations: 95.27 kB / 411.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.203, allocations: 0 / 411.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.2032, allocations: 12.03 kB / 411.4 MB, free: 27.2 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.0004222/0.2037, allocations: 193.7 kB / 411.6 MB, free: 27.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2038, allocations: 23.92 kB / 411.6 MB, free: 27.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2038, allocations: 0 / 411.6 MB, free: 27.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.2038, allocations: 19.98 kB / 411.6 MB, free: 27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.2041, allocations: 10.12 kB / 411.6 MB, free: 26.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.2043, allocations: 118 kB / 411.8 MB, free: 26.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.406e-05/0.2044, allocations: 0.6812 MB / 412.4 MB, free: 26.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.104e-05/0.2044, allocations: 3.953 kB / 412.4 MB, free: 26.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.2045, allocations: 15.42 kB / 412.5 MB, free: 26.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2045, allocations: 0 / 412.5 MB, free: 26.12 MB / 302.1 MB Notification: Performance of Templates: time 0.002365/0.2068, allocations: 0.7152 MB / 413.2 MB, free: 25.41 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 -s cvode -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1)