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.001105/0.001105, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.445/1.445, allocations: 221.4 MB / 235.1 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.000877, allocations: 93.7 kB / 286.1 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05348/0.05348, allocations: 8.104 MB / 345.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.984e-05, allocations: 4 kB / 405.6 MB, free: 61.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 52.52 MB / 458.1 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4812, allocations: 79.55 MB / 0.525 GB, free: 6.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001526/0.4814, allocations: 66.47 kB / 0.5251 GB, free: 6.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01944/0.5009, allocations: 7.705 MB / 0.5326 GB, free: 224 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5009, allocations: 3.938 kB / 0.5326 GB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.5009, allocations: 4 kB / 0.5326 GB, free: 216 kB / 346.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.001192/0.5021, allocations: 0.5375 MB / 0.5331 GB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5022, allocations: 16.02 kB / 0.5332 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/0.5022, allocations: 55.3 kB / 0.5332 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.5023, allocations: 35.66 kB / 0.5332 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.5025, allocations: 204 kB / 0.5334 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5025, allocations: 15.06 kB / 0.5335 GB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.5026, allocations: 23 kB / 0.5335 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.503, allocations: 287 kB / 0.5338 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.503, allocations: 0 / 0.5338 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.5031, allocations: 14.45 kB / 0.5338 GB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.5031, allocations: 8 kB / 0.5338 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.5034, allocations: 240.5 kB / 0.534 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.505, allocations: 0.9924 MB / 0.535 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.5057, allocations: 427.4 kB / 0.5354 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.5059, allocations: 88.17 kB / 0.5355 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.5059, allocations: 7.125 kB / 0.5355 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.506, allocations: 36.88 kB / 0.5355 GB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.506, allocations: 0 / 0.5355 GB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005867/0.5066, allocations: 251.7 kB / 0.5357 GB, free: 13.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5066, allocations: 81.11 kB / 0.5358 GB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.5068, allocations: 174.9 kB / 0.536 GB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.5068, allocations: 28.77 kB / 0.536 GB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.5069, allocations: 161 kB / 0.5362 GB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.507, allocations: 65.64 kB / 0.5362 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.507, allocations: 3.562 kB / 0.5362 GB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5071, allocations: 324.7 kB / 0.5365 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.5072, allocations: 86.8 kB / 0.5366 GB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5074, allocations: 122.7 kB / 0.5367 GB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.5075, allocations: 94.28 kB / 0.5368 GB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5075, allocations: 0 / 0.5368 GB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005482/0.5081, allocations: 323.7 kB / 0.5371 GB, free: 12.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5081, allocations: 5.719 kB / 0.5372 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5081, allocations: 96 / 0.5372 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.5085, allocations: 78.97 kB / 0.5372 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.5087, allocations: 43.42 kB / 0.5373 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.5108, allocations: 2.659 MB / 0.5399 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.511, allocations: 19.75 kB / 0.5399 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.5111, allocations: 19.89 kB / 0.5399 GB, free: 9.23 MB / 362.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 () * 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.0001177/0.5112, allocations: 119.6 kB / 0.54 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.5113, allocations: 15.81 kB / 0.54 GB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/0.5119, allocations: 274.7 kB / 0.5403 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5119, allocations: 4 kB / 0.5403 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5119, allocations: 0 / 0.5403 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5119, allocations: 7.984 kB / 0.5403 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.5129, allocations: 0.7331 MB / 0.541 GB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5129, allocations: 3.938 kB / 0.541 GB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.513, allocations: 27.97 kB / 0.5411 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/0.5133, allocations: 74.72 kB / 0.5411 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.5133, allocations: 7.938 kB / 0.5411 GB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.5154, allocations: 2.659 MB / 0.5437 GB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5154, allocations: 0 / 0.5437 GB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.516, allocations: 427.3 kB / 0.5441 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.516, allocations: 100.2 kB / 0.5442 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.5161, allocations: 7.875 kB / 0.5442 GB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.5163, allocations: 19.05 kB / 0.5443 GB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.5163, allocations: 19.88 kB / 0.5443 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.5164, allocations: 10.75 kB / 0.5443 GB, free: 4.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.5165, allocations: 150.2 kB / 0.5444 GB, free: 4.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5165, allocations: 0 / 0.5444 GB, free: 4.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00043/0.517, allocations: 74.97 kB / 0.5445 GB, free: 4.621 MB / 362.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 () * 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.0008511/0.5178, allocations: 1.035 MB / 0.5455 GB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006345/0.5185, allocations: 445.8 kB / 0.5459 GB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5185, allocations: 0 / 0.5459 GB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.5189, allocations: 320.3 kB / 0.5462 GB, free: 2.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.5192, allocations: 23.48 kB / 0.5463 GB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.5199, allocations: 331.3 kB / 0.5466 GB, free: 2.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.5202, allocations: 0.7438 MB / 0.5473 GB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.5203, allocations: 29.52 kB / 0.5473 GB, free: 1.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.5205, allocations: 70.72 kB / 0.5474 GB, free: 1.777 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5205, allocations: 0 / 0.5474 GB, free: 1.777 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.5384, allocations: 4.77 MB / 0.5521 GB, free: 13.13 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.5387, allocations: 161.5 kB / 0.5522 GB, free: 12.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.314, allocations: 0 / 0.5522 GB, free: 12.91 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)