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.001045/0.001045, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1176/0.1176, allocations: 2.934 MB / 293.6 MB, free: 3.215 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.88 kB / 354.6 MB, free: 4.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08378, allocations: 50.34 MB / 405 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002913/0.08672, allocations: 1.587 MB / 406.6 MB, free: 220 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.08778, allocations: 0.7851 MB / 407.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.08782, allocations: 0 / 407.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.08813, allocations: 35.84 kB / 407.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.08831, allocations: 27.92 kB / 407.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.11e-05/0.08835, allocations: 11.92 kB / 407.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.08841, allocations: 27.92 kB / 407.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.305e-05/0.08848, allocations: 7.984 kB / 407.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.08853, allocations: 11.94 kB / 407.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.08864, allocations: 15.92 kB / 407.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.08866, allocations: 0 / 407.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.08875, allocations: 35.91 kB / 407.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.08877, allocations: 0 / 407.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.08879, allocations: 11.94 kB / 407.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.08892, allocations: 31.95 kB / 407.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.08894, allocations: 4 kB / 407.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.08895, allocations: 0 / 407.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.08896, allocations: 0 / 407.6 MB, free: 15.21 MB / 350.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.0004193/0.08938, allocations: 351.7 kB / 407.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.08942, allocations: 8.031 kB / 407.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.08946, allocations: 8.844 kB / 407.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.08959, allocations: 168.4 kB / 408.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.0896, allocations: 4.375 kB / 408.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.08962, allocations: 384 / 408.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.08973, allocations: 46.25 kB / 408.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.08974, allocations: 192 / 408.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.08976, allocations: 7.922 kB / 408.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.08978, allocations: 3.938 kB / 408.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.08988, allocations: 15.98 kB / 408.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.09022, allocations: 256.8 kB / 408.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.544e-05/0.09031, allocations: 30.52 kB / 408.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.09036, allocations: 20.91 kB / 408.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.09038, allocations: 0 / 408.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.09041, allocations: 34.5 kB / 408.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.09042, allocations: 0 / 408.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001999/0.09062, allocations: 57.77 kB / 408.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.09067, allocations: 55.44 kB / 408.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.0908, allocations: 113.8 kB / 408.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.09082, allocations: 29.64 kB / 408.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.09086, allocations: 84.14 kB / 408.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.09088, allocations: 7.906 kB / 408.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.09091, allocations: 9.719 kB / 408.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.09103, allocations: 318.8 kB / 409.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.09111, allocations: 12 kB / 409.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.09115, allocations: 7.984 kB / 409.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.09122, allocations: 24.8 kB / 409.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.09122, allocations: 0 / 409.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001156/0.09134, allocations: 57.52 kB / 409.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.09137, allocations: 8 kB / 409.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.09138, allocations: 0 / 409.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.09139, allocations: 4.094 kB / 409.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.09145, allocations: 4 kB / 409.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.09147, allocations: 3.938 kB / 409.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.0915, allocations: 4 kB / 409.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.09151, allocations: 4 kB / 409.3 MB, free: 13.25 MB / 350.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 7.623e-05/0.09159, allocations: 117.8 kB / 409.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.09164, allocations: 4 kB / 409.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.09166, allocations: 7.469 kB / 409.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.09167, allocations: 4 kB / 409.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.09168, allocations: 0 / 409.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.09168, allocations: 0 / 409.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.09188, allocations: 169.6 kB / 409.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09188, allocations: 0 / 409.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.09192, allocations: 4 kB / 409.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.09193, allocations: 0 / 409.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.09194, allocations: 0 / 409.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.09194, allocations: 320 / 409.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09195, allocations: 0 / 409.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.0921, allocations: 155.4 kB / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.09214, allocations: 81.11 kB / 409.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.09216, allocations: 0 / 409.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.09223, allocations: 0 / 409.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.09227, allocations: 4 kB / 409.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.09227, allocations: 0 / 409.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.3e-05/0.09234, allocations: 103.2 kB / 409.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09235, allocations: 4.031 kB / 409.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000257/0.09261, allocations: 12 kB / 410 MB, free: 12.51 MB / 350.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.0004912/0.09311, allocations: 193.1 kB / 410.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.09324, allocations: 19.98 kB / 410.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.09325, allocations: 0 / 410.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.09329, allocations: 16.05 kB / 410.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.09359, allocations: 11.94 kB / 410.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.09388, allocations: 161.4 kB / 410.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.0941, allocations: 0.6809 MB / 411 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.09415, allocations: 15.42 kB / 411 MB, free: 11.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09417, allocations: 4.062 kB / 411 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Templates: time 0.002325/0.0965, allocations: 0.9243 MB / 412 MB, free: 10.46 MB / 350.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)