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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 179.9 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 239.7 MB, free: 1.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 87 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06973/0.06973, allocations: 8.105 MB / 350.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004943, allocations: 8.062 kB / 413.2 MB, free: 89.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 52.53 MB / 465.7 MB, free: 41.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/0.7167, allocations: 79.37 MB / 0.5323 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.7171, allocations: 60.84 kB / 0.5324 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02144/0.7386, allocations: 7.73 MB / 0.5399 GB, free: 31.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.469e-06/0.7386, allocations: 0 / 0.5399 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.7387, allocations: 3.875 kB / 0.5399 GB, free: 31.77 MB / 378.7 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.001505/0.7402, allocations: 0.5641 MB / 0.5405 GB, free: 31.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.048e-05/0.7403, allocations: 13.86 kB / 0.5405 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.902e-05/0.7404, allocations: 59.03 kB / 0.5405 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.7404, allocations: 27.3 kB / 0.5406 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.7407, allocations: 205 kB / 0.5407 GB, free: 31.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.7407, allocations: 12 kB / 0.5408 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.7408, allocations: 23.06 kB / 0.5408 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.7413, allocations: 288.2 kB / 0.5411 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.7414, allocations: 0 / 0.5411 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.7414, allocations: 21.59 kB / 0.5411 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.7414, allocations: 7.812 kB / 0.5411 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.7418, allocations: 243.9 kB / 0.5413 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.7436, allocations: 0.9933 MB / 0.5423 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.7443, allocations: 428.5 kB / 0.5427 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.7444, allocations: 7.188 kB / 0.5427 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.7444, allocations: 35.97 kB / 0.5427 GB, free: 30.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.7445, allocations: 7.922 kB / 0.5427 GB, free: 30.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.001103/0.7456, allocations: 0.5061 MB / 0.5432 GB, free: 29.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.7456, allocations: 88.05 kB / 0.5433 GB, free: 29.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.7458, allocations: 177 kB / 0.5435 GB, free: 29.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.7459, allocations: 33.55 kB / 0.5435 GB, free: 29.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.746, allocations: 142.2 kB / 0.5437 GB, free: 29.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.746, allocations: 85.53 kB / 0.5437 GB, free: 29.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.7461, allocations: 3.938 kB / 0.5437 GB, free: 29.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7462, allocations: 325.3 kB / 0.5441 GB, free: 29.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.7463, allocations: 84.08 kB / 0.5441 GB, free: 29.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.7465, allocations: 124.9 kB / 0.5443 GB, free: 29.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.7466, allocations: 96.88 kB / 0.5443 GB, free: 29.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7466, allocations: 0 / 0.5443 GB, free: 29.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006102/0.7472, allocations: 321.2 kB / 0.5447 GB, free: 29.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.7473, allocations: 3.969 kB / 0.5447 GB, free: 29.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7473, allocations: 4.578 kB / 0.5447 GB, free: 29.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.7477, allocations: 69.09 kB / 0.5447 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.748, allocations: 46.34 kB / 0.5448 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.7504, allocations: 2.676 MB / 0.5474 GB, free: 26.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.7506, allocations: 27.22 kB / 0.5474 GB, free: 26.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.7507, allocations: 9.781 kB / 0.5474 GB, free: 26.58 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.7509, allocations: 150.8 kB / 0.5476 GB, free: 26.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.7509, allocations: 15.47 kB / 0.5476 GB, free: 26.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006233/0.7516, allocations: 276.7 kB / 0.5478 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.7516, allocations: 2.109 kB / 0.5478 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.7516, allocations: 3.938 kB / 0.5478 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7516, allocations: 0 / 0.5478 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.7527, allocations: 0.738 MB / 0.5486 GB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.7527, allocations: 3.953 kB / 0.5486 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.7528, allocations: 35.17 kB / 0.5486 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.7531, allocations: 72.84 kB / 0.5487 GB, free: 25.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.7531, allocations: 6.125 kB / 0.5487 GB, free: 25.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.7556, allocations: 2.681 MB / 0.5513 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.7556, allocations: 0 / 0.5513 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.7562, allocations: 433.1 kB / 0.5517 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.7563, allocations: 98.73 kB / 0.5518 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.7563, allocations: 3.875 kB / 0.5518 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.7566, allocations: 22.27 kB / 0.5518 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.7566, allocations: 25.98 kB / 0.5519 GB, free: 23.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.7566, allocations: 7.812 kB / 0.5519 GB, free: 23.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.7568, allocations: 154.2 kB / 0.552 GB, free: 22.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7568, allocations: 0 / 0.552 GB, free: 22.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004453/0.7573, allocations: 73.84 kB / 0.5521 GB, free: 22.94 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.7584, allocations: 1.035 MB / 0.5531 GB, free: 22.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007686/0.7592, allocations: 449.2 kB / 0.5535 GB, free: 21.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7592, allocations: 0 / 0.5535 GB, free: 21.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.7597, allocations: 322.5 kB / 0.5538 GB, free: 21.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.7601, allocations: 27.89 kB / 0.5539 GB, free: 21.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.7624, allocations: 1.701 MB / 0.5555 GB, free: 20.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.7628, allocations: 0.7426 MB / 0.5562 GB, free: 19.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.763, allocations: 30.91 kB / 0.5563 GB, free: 19.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.7631, allocations: 64.89 kB / 0.5563 GB, free: 19.86 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.7631, allocations: 3.938 kB / 0.5563 GB, free: 19.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.7855, allocations: 4.674 MB / 0.5609 GB, free: 19.47 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.7858, allocations: 195.2 kB / 0.5611 GB, free: 19.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.819, allocations: 0 / 0.5611 GB, free: 19.23 MB / 378.7 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/linux/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)