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.001021/0.001021, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001327/0.001327, allocations: 191 kB / 17.29 MB, free: 5.516 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01198/0.01198, allocations: 2.951 MB / 294.1 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 55.91 kB / 356.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2584, allocations: 50.34 MB / 406.4 MB, free: 32.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002577/0.261, allocations: 1.535 MB / 408 MB, free: 30.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007492/0.2618, allocations: 0.801 MB / 408.8 MB, free: 30.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.2618, allocations: 0 / 408.8 MB, free: 30.13 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.0002962/0.2621, allocations: 35.83 kB / 408.8 MB, free: 30.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2623, allocations: 34.66 kB / 408.8 MB, free: 30.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.457e-05/0.2623, allocations: 8 kB / 408.9 MB, free: 30.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.2624, allocations: 27.92 kB / 408.9 MB, free: 30.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.2625, allocations: 7.984 kB / 408.9 MB, free: 30.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/0.2626, allocations: 11.94 kB / 408.9 MB, free: 30.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.2627, allocations: 11.92 kB / 408.9 MB, free: 30 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2627, allocations: 8 kB / 408.9 MB, free: 29.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.2628, allocations: 35.91 kB / 409 MB, free: 29.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.2628, allocations: 0 / 409 MB, free: 29.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.2629, allocations: 15.88 kB / 409 MB, free: 29.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.263, allocations: 47.88 kB / 409 MB, free: 29.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.263, allocations: 0 / 409 MB, free: 29.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.263, allocations: 0 / 409 MB, free: 29.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.263, 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.0003384/0.2634, allocations: 351.3 kB / 409.4 MB, free: 29.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2634, allocations: 15.89 kB / 409.4 MB, free: 29.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.2634, allocations: 4.938 kB / 409.4 MB, free: 29.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.2635, allocations: 182 kB / 409.6 MB, free: 29.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2636, allocations: 4.375 kB / 409.6 MB, free: 29.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2636, allocations: 384 / 409.6 MB, free: 29.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.2637, allocations: 46.23 kB / 409.6 MB, free: 29.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2637, allocations: 192 / 409.6 MB, free: 29.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2637, allocations: 3.938 kB / 409.6 MB, free: 29.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2637, allocations: 0 / 409.6 MB, free: 29.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.2638, allocations: 15.98 kB / 409.6 MB, free: 29.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.2641, allocations: 249 kB / 409.9 MB, free: 28.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.2641, allocations: 34.44 kB / 409.9 MB, free: 28.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.2642, allocations: 16.86 kB / 409.9 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2642, allocations: 4 kB / 409.9 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2642, allocations: 34.56 kB / 410 MB, free: 28.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.2642, allocations: 3.938 kB / 410 MB, free: 28.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001793/0.2644, allocations: 65.52 kB / 410 MB, free: 28.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2644, allocations: 51.41 kB / 410.1 MB, free: 28.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.2645, allocations: 113.8 kB / 410.2 MB, free: 28.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.2645, allocations: 25.7 kB / 410.2 MB, free: 28.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.2645, allocations: 84.14 kB / 410.3 MB, free: 28.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.2646, allocations: 11.97 kB / 410.3 MB, free: 28.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.2646, allocations: 17.7 kB / 410.3 MB, free: 28.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.2646, allocations: 314.8 kB / 410.6 MB, free: 28.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.2647, allocations: 8 kB / 410.6 MB, free: 28.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.2647, allocations: 7.984 kB / 410.6 MB, free: 28.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.2648, allocations: 24.84 kB / 410.7 MB, free: 28.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2648, allocations: 4.062 kB / 410.7 MB, free: 28.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.681e-05/0.2649, allocations: 53.56 kB / 410.7 MB, free: 27.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2649, allocations: 8 kB / 410.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2649, allocations: 0 / 410.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2649, allocations: 0 / 410.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.265, allocations: 4 kB / 410.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.265, allocations: 4 kB / 410.7 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.265, allocations: 3.984 kB / 410.7 MB, free: 27.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.265, allocations: 4 kB / 410.8 MB, free: 27.94 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.335e-05/0.2651, allocations: 117.8 kB / 410.9 MB, free: 27.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.2651, allocations: 7.906 kB / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.2651, allocations: 3.531 kB / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2651, allocations: 0 / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2651, allocations: 0 / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2651, allocations: 0 / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.2653, allocations: 169.6 kB / 411 MB, free: 27.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2653, allocations: 0 / 411 MB, free: 27.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.2653, allocations: 4 kB / 411 MB, free: 27.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2653, allocations: 4 kB / 411 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2653, allocations: 0 / 411 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2653, allocations: 0 / 411 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2653, allocations: 3.984 kB / 411.1 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.2654, allocations: 147.4 kB / 411.2 MB, free: 27.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.2655, allocations: 85.02 kB / 411.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.2655, allocations: 3.938 kB / 411.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.2655, allocations: 4.031 kB / 411.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2656, allocations: 7.984 kB / 411.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.2656, allocations: 3.938 kB / 411.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.299e-05/0.2656, allocations: 95.27 kB / 411.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2656, allocations: 0 / 411.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.2659, allocations: 7.984 kB / 411.4 MB, free: 27.19 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.0004294/0.2663, allocations: 202.3 kB / 411.6 MB, free: 27.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.2664, allocations: 23.92 kB / 411.6 MB, free: 27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2664, allocations: 0 / 411.6 MB, free: 27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.2665, allocations: 8 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.0002398/0.2667, allocations: 15.92 kB / 411.6 MB, free: 26.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.2669, allocations: 118 kB / 411.8 MB, free: 26.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.732e-05/0.267, allocations: 0.6808 MB / 412.4 MB, free: 26.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.313e-05/0.2671, allocations: 7.953 kB / 412.4 MB, free: 26.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.2671, allocations: 11.44 kB / 412.5 MB, free: 26.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2671, allocations: 0 / 412.5 MB, free: 26.11 MB / 302.1 MB Notification: Performance of Templates: time 0.002555/0.2697, allocations: 0.7117 MB / 413.2 MB, free: 25.4 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 gbode -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1)