Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",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.001136/0.001136, allocations: 104.6 kB / 16.31 MB, free: 6.391 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.001167/0.001167, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04194/0.04194, allocations: 8.106 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.91 kB / 361.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1848, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002352/0.1872, allocations: 1.728 MB / 415.1 MB, free: 23.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1884, allocations: 1.345 MB / 416.4 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.1885, allocations: 4 kB / 416.4 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1887, allocations: 91.48 kB / 416.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1889, allocations: 99.31 kB / 416.6 MB, free: 22.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.1896, allocations: 454.1 kB / 417.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1898, allocations: 215 kB / 417.3 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1899, allocations: 118.3 kB / 417.4 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.19, allocations: 103.6 kB / 417.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1902, allocations: 147.4 kB / 417.6 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.1902, allocations: 20 kB / 417.6 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1904, allocations: 127.9 kB / 417.8 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.1905, allocations: 43.84 kB / 417.8 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.1905, allocations: 127.3 kB / 417.9 MB, free: 20.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1908, allocations: 329.2 kB / 418.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1908, allocations: 0 / 418.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1908, allocations: 0 / 418.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1908, allocations: 0 / 418.3 MB, free: 20.65 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001424/0.1923, allocations: 0.6708 MB / 418.9 MB, free: 19.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1923, allocations: 15.89 kB / 418.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1924, allocations: 54.73 kB / 419 MB, free: 19.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.1924, allocations: 24.66 kB / 419 MB, free: 19.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.1926, allocations: 207.5 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1926, allocations: 20.94 kB / 419.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.1926, allocations: 24.31 kB / 419.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.193, allocations: 296.1 kB / 419.6 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.193, allocations: 7.938 kB / 419.6 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.193, allocations: 8 kB / 419.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.193, allocations: 8 kB / 419.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.1933, allocations: 239 kB / 419.8 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1943, allocations: 0.9644 MB / 420.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.195, allocations: 370.4 kB / 421.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1951, allocations: 93.88 kB / 421.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.1951, allocations: 7.938 kB / 421.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.1952, allocations: 34.56 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.1952, allocations: 0 / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009635/0.1961, allocations: 0.5285 MB / 421.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.1962, allocations: 77.11 kB / 421.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1963, allocations: 194.6 kB / 422.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1964, allocations: 33.7 kB / 422.1 MB, free: 16.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.1964, allocations: 160 kB / 422.3 MB, free: 16.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1965, allocations: 66.95 kB / 422.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.1965, allocations: 61.59 kB / 422.4 MB, free: 16.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.1966, allocations: 326.8 kB / 422.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1967, allocations: 83.97 kB / 422.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1968, allocations: 123.4 kB / 422.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.1971, allocations: 222.8 kB / 423.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1971, allocations: 0 / 423.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005068/0.1976, allocations: 334.9 kB / 423.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1976, allocations: 12.06 kB / 423.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1976, allocations: 0 / 423.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003413/0.198, allocations: 73.64 kB / 423.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1981, allocations: 47.92 kB / 423.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.1996, allocations: 2.883 MB / 426.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1998, allocations: 23.72 kB / 426.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1998, allocations: 16 kB / 426.5 MB, free: 11.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.11e-05/0.1999, allocations: 142.6 kB / 426.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.1999, allocations: 19.81 kB / 426.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.2004, allocations: 284.4 kB / 426.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2005, allocations: 4 kB / 426.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2005, allocations: 0 / 426.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2005, allocations: 8 kB / 426.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.2011, allocations: 0.558 MB / 427.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2011, allocations: 0 / 427.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2012, allocations: 24 kB / 427.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.2015, allocations: 85.58 kB / 427.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2015, allocations: 0 / 427.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.2029, allocations: 2.875 MB / 430.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.203, allocations: 3.938 kB / 430.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.2034, allocations: 433.6 kB / 430.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2034, allocations: 96.84 kB / 431 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.2035, allocations: 7.969 kB / 431 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.2037, allocations: 23.92 kB / 431 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.2037, allocations: 15.92 kB / 431.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.2037, allocations: 12 kB / 431.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.2039, allocations: 151.7 kB / 431.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2039, allocations: 3.938 kB / 431.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.2042, allocations: 75.84 kB / 431.3 MB, free: 6.555 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.000598/0.2049, allocations: 0.9649 MB / 432.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006089/0.2055, allocations: 461.2 kB / 432.7 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2055, allocations: 4 kB / 432.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.2058, allocations: 333.4 kB / 433 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.2063, allocations: 26.33 kB / 433.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.2086, allocations: 2.49 MB / 435.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2087, allocations: 0.7365 MB / 436.3 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.2089, allocations: 33.52 kB / 436.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.209, allocations: 67.59 kB / 436.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.209, allocations: 3.938 kB / 436.4 MB, free: 1.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.606/1.815, allocations: 5.152 MB / 441.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/18.44, allocations: 14.66 kB / 441.6 MB, free: 12.16 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)