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.001238/0.001238, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.001267/0.001267, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.259/1.259, 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.01172/0.01172, allocations: 2.946 MB / 294.2 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.14 kB / 406.9 MB, free: 28.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.078/0.07921, allocations: 50.34 MB / 457.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002737/0.08198, allocations: 1.536 MB / 458.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.08302, allocations: 0.8011 MB / 459.6 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.08308, allocations: 3.938 kB / 459.6 MB, free: 8.031 MB / 334.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.000306/0.08339, allocations: 31.86 kB / 459.6 MB, free: 8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.08354, allocations: 31.84 kB / 459.7 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.595e-05/0.08357, allocations: 8 kB / 459.7 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.131e-05/0.08365, allocations: 31.92 kB / 459.7 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.993e-05/0.08374, allocations: 15.84 kB / 459.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.08379, allocations: 12 kB / 459.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.08392, allocations: 15.92 kB / 459.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.08394, allocations: 4 kB / 459.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.08403, allocations: 23.98 kB / 459.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.08405, allocations: 11.86 kB / 459.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.08407, allocations: 11.94 kB / 459.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.0842, allocations: 47.89 kB / 459.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.08422, allocations: 0 / 459.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08422, allocations: 4 kB / 459.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.08423, allocations: 0 / 459.9 MB, free: 7.785 MB / 334.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.0003799/0.08462, allocations: 343.5 kB / 460.2 MB, free: 7.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.08466, allocations: 11.89 kB / 460.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.0847, allocations: 8.844 kB / 460.2 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.08484, allocations: 172.3 kB / 460.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.08486, allocations: 4.375 kB / 460.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.08487, allocations: 4.359 kB / 460.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.08498, allocations: 46.25 kB / 460.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.08499, allocations: 192 / 460.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.08501, allocations: 7.875 kB / 460.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.08501, allocations: 0 / 460.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.08509, allocations: 15.98 kB / 460.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.08537, allocations: 245 kB / 460.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.08546, allocations: 42.44 kB / 460.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.0855, allocations: 8.922 kB / 460.7 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.08552, allocations: 0 / 460.7 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.08555, allocations: 42.48 kB / 460.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.08556, allocations: 0 / 460.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001976/0.08576, allocations: 57.59 kB / 460.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.0858, allocations: 55.53 kB / 460.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.0859, allocations: 117.8 kB / 461 MB, free: 6.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.08592, allocations: 25.7 kB / 461 MB, free: 6.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.08596, allocations: 88.12 kB / 461.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.08598, allocations: 7.844 kB / 461.1 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.08601, allocations: 17.72 kB / 461.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.0861, allocations: 310.8 kB / 461.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.08615, allocations: 7.984 kB / 461.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.08619, allocations: 19.94 kB / 461.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.08626, allocations: 20.84 kB / 461.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.08627, allocations: 4 kB / 461.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.08638, allocations: 45.62 kB / 461.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.0864, allocations: 8 kB / 461.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.08641, allocations: 0 / 461.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.08642, allocations: 0 / 461.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.08649, allocations: 12.08 kB / 461.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.0865, allocations: 0 / 461.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.08653, allocations: 7.906 kB / 461.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.08655, allocations: 4 kB / 461.6 MB, free: 5.832 MB / 334.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 6.101e-05/0.08661, allocations: 110.4 kB / 461.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.08664, allocations: 7.938 kB / 461.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.08667, allocations: 7.531 kB / 461.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.08667, allocations: 0 / 461.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.08668, allocations: 0 / 461.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.08669, allocations: 7.984 kB / 461.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.08684, allocations: 165.6 kB / 461.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.08685, allocations: 0 / 461.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.08689, allocations: 4 kB / 461.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.0869, allocations: 3.984 kB / 461.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.08691, allocations: 0 / 461.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.08691, allocations: 3.938 kB / 461.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.08692, allocations: 0 / 461.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.08707, allocations: 147.5 kB / 462 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.08711, allocations: 85.02 kB / 462.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.08713, allocations: 4 kB / 462.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.08719, allocations: 3.984 kB / 462.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.08722, allocations: 0 / 462.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.08723, allocations: 4 kB / 462.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.843e-05/0.08729, allocations: 95.2 kB / 462.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08729, allocations: 0 / 462.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000223/0.08752, allocations: 8 kB / 462.2 MB, free: 5.09 MB / 334.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.0004791/0.088, allocations: 213.6 kB / 462.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.08813, allocations: 19.98 kB / 462.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.08814, allocations: 0 / 462.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.08818, allocations: 8 kB / 462.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.08843, allocations: 20.05 kB / 462.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.08871, allocations: 143.8 kB / 462.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.08894, allocations: 0.6805 MB / 463.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.08899, allocations: 11.44 kB / 463.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08899, allocations: 0 / 463.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of Templates: time 0.002168/0.09116, allocations: 0.9344 MB / 464.2 MB, free: 3.043 MB / 334.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)