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.5-master/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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.006528/0.006528, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001431/0.001431, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01549/0.01549, allocations: 2.954 MB / 293.5 MB, free: 11.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 67.89 kB / 406.3 MB, free: 28.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1158, allocations: 50.32 MB / 456.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.00305/0.1188, allocations: 1.54 MB / 458.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.12, allocations: 0.8011 MB / 458.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.12, allocations: 0 / 458.9 MB, free: 8.023 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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.0003666/0.1204, allocations: 31.84 kB / 459 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1206, allocations: 39.84 kB / 459 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.543e-05/0.1206, allocations: 7.984 kB / 459 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.929e-05/0.1207, allocations: 27.92 kB / 459 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.1208, allocations: 7.938 kB / 459 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.1209, allocations: 11.98 kB / 459.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.121, allocations: 11.94 kB / 459.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.121, allocations: 4 kB / 459.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.1211, allocations: 27.97 kB / 459.1 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.1212, allocations: 11.92 kB / 459.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.1212, allocations: 11.88 kB / 459.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1214, allocations: 51.81 kB / 459.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1214, allocations: 4 kB / 459.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1214, allocations: 0 / 459.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1214, allocations: 4 kB / 459.2 MB, free: 7.773 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.0004715/0.1219, allocations: 351.2 kB / 459.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1219, allocations: 11.89 kB / 459.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.122, allocations: 8.891 kB / 459.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1221, allocations: 164.4 kB / 459.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1222, allocations: 384 / 459.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.1222, allocations: 384 / 459.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1223, allocations: 46.25 kB / 459.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1223, allocations: 192 / 459.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1223, allocations: 3.938 kB / 459.8 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1223, allocations: 0 / 459.8 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.1224, allocations: 23.92 kB / 459.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.1228, allocations: 252.9 kB / 460 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.495e-05/0.1228, allocations: 38.5 kB / 460.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.1229, allocations: 16.91 kB / 460.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-06/0.1229, allocations: 0 / 460.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1229, allocations: 38.5 kB / 460.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1229, allocations: 0 / 460.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.1231, allocations: 53.69 kB / 460.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1232, allocations: 59.52 kB / 460.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1233, allocations: 113.8 kB / 460.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1233, allocations: 25.7 kB / 460.4 MB, free: 6.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.1234, allocations: 84.14 kB / 460.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.1234, allocations: 7.953 kB / 460.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1234, allocations: 13.72 kB / 460.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1236, allocations: 314.8 kB / 460.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.1236, allocations: 8 kB / 460.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.1237, allocations: 12 kB / 460.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.1237, allocations: 28.78 kB / 460.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1237, allocations: 0 / 460.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.948e-05/0.1238, allocations: 53.58 kB / 460.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1239, allocations: 11.98 kB / 460.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1239, allocations: 0 / 460.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1239, allocations: 96 / 460.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.124, allocations: 8 kB / 460.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.124, allocations: 0 / 460.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.124, allocations: 4 kB / 460.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.124, allocations: 0 / 460.9 MB, free: 5.828 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 8.126e-05/0.1241, allocations: 110.4 kB / 461 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1241, allocations: 7.984 kB / 461 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.1242, allocations: 7.531 kB / 461 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1242, allocations: 0 / 461 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1242, allocations: 7.938 kB / 461 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1242, allocations: 3.938 kB / 461 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1244, allocations: 169.6 kB / 461.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1244, allocations: 3.984 kB / 461.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.1244, allocations: 4 kB / 461.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1244, allocations: 0 / 461.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1244, allocations: 3.938 kB / 461.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1244, allocations: 0 / 461.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1244, allocations: 0 / 461.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.1246, allocations: 151.4 kB / 461.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.1247, allocations: 89.09 kB / 461.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1247, allocations: 0 / 461.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.1247, allocations: 0 / 461.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.1248, allocations: 4 kB / 461.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.1248, allocations: 0 / 461.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.304e-05/0.1248, allocations: 91.58 kB / 461.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1248, allocations: 0 / 461.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.1251, allocations: 19.91 kB / 461.6 MB, free: 5.07 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.0005764/0.1256, allocations: 193 kB / 461.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1258, allocations: 23.98 kB / 461.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1258, allocations: 0 / 461.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.027e-05/0.1258, allocations: 16.05 kB / 461.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1261, allocations: 12 kB / 461.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.1264, allocations: 122 kB / 461.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1267, allocations: 0.6844 MB / 462.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.324e-05/0.1267, allocations: 4 kB / 462.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.1267, allocations: 19.42 kB / 462.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1267, allocations: 0 / 462.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of Templates: time 0.003407/0.1301, allocations: 0.7109 MB / 463.3 MB, free: 3.281 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)