Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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: "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 102.7 kB / 16.03 MB, free: 6.324 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.001669/0.001669, allocations: 197.2 kB / 16.95 MB, free: 6.152 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.28/1.28, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04383/0.04383, allocations: 8.103 MB / 298.9 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 361.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1851, allocations: 51.51 MB / 412.8 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001797/0.1869, allocations: 1.051 MB / 413.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000854/0.1878, allocations: 1.1 MB / 415 MB, free: 23.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.1878, allocations: 0 / 415 MB, free: 23.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.188, allocations: 55.83 kB / 415 MB, free: 23.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1882, allocations: 27.78 kB / 415.1 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.1887, allocations: 310.8 kB / 415.4 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.1888, allocations: 67.73 kB / 415.4 MB, free: 23.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1889, allocations: 35.97 kB / 415.5 MB, free: 23.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.1889, allocations: 39.8 kB / 415.5 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.189, allocations: 39.83 kB / 415.5 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.189, allocations: 8 kB / 415.6 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1892, allocations: 75.91 kB / 415.6 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.1892, allocations: 19.92 kB / 415.6 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.1892, allocations: 35.81 kB / 415.7 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1894, allocations: 141.8 kB / 415.8 MB, free: 22.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1894, allocations: 4 kB / 415.8 MB, free: 22.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1894, allocations: 0 / 415.8 MB, free: 22.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1894, allocations: 4 kB / 415.8 MB, free: 22.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005899/0.19, allocations: 419.2 kB / 416.2 MB, free: 22.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1901, allocations: 15.89 kB / 416.3 MB, free: 22.26 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.618e-05/0.1901, allocations: 34.75 kB / 416.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.1901, allocations: 12.83 kB / 416.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1902, allocations: 184.2 kB / 416.5 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1903, allocations: 4.375 kB / 416.5 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1903, allocations: 8.375 kB / 416.5 MB, free: 21.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1904, allocations: 90.16 kB / 416.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1904, allocations: 3.938 kB / 416.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1905, allocations: 4 kB / 416.6 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1905, allocations: 4 kB / 416.6 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.1905, allocations: 43.98 kB / 416.6 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.1909, allocations: 376.5 kB / 417 MB, free: 21.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.1912, allocations: 78.5 kB / 417.1 MB, free: 21.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.1912, allocations: 16.98 kB / 417.1 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-05/0.1913, allocations: 85.09 kB / 417.2 MB, free: 21.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.1913, allocations: 34.56 kB / 417.2 MB, free: 21.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1913, allocations: 0 / 417.2 MB, free: 21.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004343/0.1918, allocations: 195.4 kB / 417.4 MB, free: 20.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.1918, allocations: 59.39 kB / 417.5 MB, free: 20.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.1919, allocations: 117.8 kB / 417.6 MB, free: 20.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.1919, allocations: 29.7 kB / 417.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.1919, allocations: 104 kB / 417.7 MB, free: 20.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.192, allocations: 11.81 kB / 417.7 MB, free: 20.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.192, allocations: 21.7 kB / 417.7 MB, free: 20.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.192, allocations: 318.8 kB / 418.1 MB, free: 20.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.1921, allocations: 8 kB / 418.1 MB, free: 20.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.1921, allocations: 11.98 kB / 418.1 MB, free: 20.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.1921, allocations: 33.23 kB / 418.1 MB, free: 20.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1921, allocations: 0 / 418.1 MB, free: 20.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001634/0.1923, allocations: 94.31 kB / 418.2 MB, free: 20.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.1923, allocations: 8 kB / 418.2 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1923, allocations: 0 / 418.2 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.1925, allocations: 24.83 kB / 418.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.803e-05/0.1926, allocations: 4 kB / 418.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006688/0.1932, allocations: 1.383 MB / 419.6 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.1933, allocations: 4 kB / 419.6 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1933, allocations: 4.156 kB / 419.6 MB, free: 18.51 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.1934, allocations: 117.8 kB / 419.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1934, allocations: 3.906 kB / 419.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.1936, allocations: 106.4 kB / 419.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1936, allocations: 0 / 419.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1936, allocations: 3.938 kB / 419.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1936, allocations: 4.109 kB / 419.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.1938, allocations: 189.6 kB / 420 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1938, allocations: 4.375 kB / 420 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.1938, allocations: 11.98 kB / 420.1 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.1939, allocations: 24.84 kB / 420.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.194, allocations: 3.938 kB / 420.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000607/0.1946, allocations: 1.375 MB / 421.5 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1946, allocations: 160 / 421.5 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1948, allocations: 196.2 kB / 421.6 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.1948, allocations: 81.05 kB / 421.7 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1948, allocations: 4 kB / 421.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.1949, allocations: 11.98 kB / 421.7 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.1949, allocations: 0 / 421.7 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1949, allocations: 7.938 kB / 421.8 MB, free: 16.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.792e-05/0.195, allocations: 99.27 kB / 421.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.195, allocations: 4 kB / 421.9 MB, free: 16.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1953, allocations: 19.91 kB / 421.9 MB, free: 16.01 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003352/0.1956, allocations: 0.7224 MB / 422.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1958, allocations: 154.8 kB / 422.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1959, allocations: 4 kB / 422.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.196, allocations: 142.6 kB / 422.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1963, allocations: 15.94 kB / 422.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1974, allocations: 1.441 MB / 424.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.473e-05/0.1975, allocations: 0.7001 MB / 425 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.1975, allocations: 11.97 kB / 425.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1976, allocations: 19.44 kB / 425.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1976, allocations: 3.938 kB / 425.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2128/0.4104, allocations: 2.368 MB / 427.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/0.4105, allocations: 190.8 kB / 427.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.19, allocations: 3.938 kB / 427.6 MB, free: 10.11 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1)