Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",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.0009805/0.0009805, allocations: 181 kB / 15.8 MB, free: 6.336 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.364/1.364, allocations: 223.2 MB / 239.7 MB, free: 1.777 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.0009734/0.0009735, allocations: 105.6 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04657/0.04657, allocations: 8.102 MB / 350.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004174, allocations: 10.56 kB / 413.2 MB, free: 89.58 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 52.53 MB / 465.7 MB, free: 41.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.4084, allocations: 79.44 MB / 0.5324 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4086, allocations: 63.25 kB / 0.5324 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01964/0.4283, allocations: 8.106 MB / 0.5403 GB, free: 31.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4283, allocations: 0 / 0.5403 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.4283, allocations: 3.875 kB / 0.5403 GB, free: 31.73 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001391/0.4297, allocations: 0.6104 MB / 0.5409 GB, free: 31.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4298, allocations: 11.62 kB / 0.5409 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.003e-05/0.4299, allocations: 64.33 kB / 0.541 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.4299, allocations: 27.42 kB / 0.541 GB, free: 31.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.4302, allocations: 248.5 kB / 0.5413 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4302, allocations: 17 kB / 0.5413 GB, free: 31.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.4302, allocations: 23 kB / 0.5413 GB, free: 31.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.4307, allocations: 293.1 kB / 0.5416 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4307, allocations: 4 kB / 0.5416 GB, free: 30.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.4307, allocations: 12.12 kB / 0.5416 GB, free: 30.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4308, allocations: 7.828 kB / 0.5416 GB, free: 30.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.4312, allocations: 294.7 kB / 0.5419 GB, free: 30.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.4325, allocations: 0.9306 MB / 0.5428 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.4329, allocations: 370.3 kB / 0.5432 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.4331, allocations: 86.41 kB / 0.5432 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4331, allocations: 38.44 kB / 0.5433 GB, free: 30.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.4331, allocations: 0 / 0.5433 GB, free: 30.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001017/0.4341, allocations: 0.5047 MB / 0.5438 GB, free: 30.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.4342, allocations: 57.2 kB / 0.5438 GB, free: 30.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.4343, allocations: 170 kB / 0.544 GB, free: 30.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4343, allocations: 29.64 kB / 0.544 GB, free: 30.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.4344, allocations: 148.2 kB / 0.5442 GB, free: 29.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.4345, allocations: 90.75 kB / 0.5442 GB, free: 29.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.4345, allocations: 7.875 kB / 0.5442 GB, free: 29.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.4346, allocations: 326.9 kB / 0.5446 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.4347, allocations: 115.4 kB / 0.5447 GB, free: 29.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.4349, allocations: 120.6 kB / 0.5448 GB, free: 29.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.435, allocations: 122.2 kB / 0.5449 GB, free: 29.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.435, allocations: 0 / 0.5449 GB, free: 29.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005203/0.4355, allocations: 367 kB / 0.5452 GB, free: 29.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4356, allocations: 7.875 kB / 0.5453 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4356, allocations: 3.938 kB / 0.5453 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.4358, allocations: 55.02 kB / 0.5453 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.4361, allocations: 50.66 kB / 0.5454 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.4373, allocations: 1.452 MB / 0.5468 GB, free: 28.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.4375, allocations: 15.47 kB / 0.5468 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.4375, allocations: 9.781 kB / 0.5468 GB, free: 28.18 MB / 378.7 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.4377, allocations: 145.5 kB / 0.5469 GB, free: 28.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.4377, allocations: 15.44 kB / 0.547 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.4383, allocations: 357.5 kB / 0.5473 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.4383, allocations: 0 / 0.5473 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4383, allocations: 3.875 kB / 0.5473 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4383, allocations: 1.969 kB / 0.5473 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009789/0.4393, allocations: 0.7591 MB / 0.548 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4393, allocations: 3.938 kB / 0.548 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.4395, allocations: 38.22 kB / 0.5481 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/0.4397, allocations: 62.41 kB / 0.5481 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.4397, allocations: 3.438 kB / 0.5481 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.4408, allocations: 1.45 MB / 0.5496 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4408, allocations: 0 / 0.5496 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.4414, allocations: 408.1 kB / 0.55 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.4414, allocations: 98.8 kB / 0.55 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.4415, allocations: 7.25 kB / 0.5501 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4416, allocations: 3.375 kB / 0.5501 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.4417, allocations: 17.77 kB / 0.5501 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4417, allocations: 5.75 kB / 0.5501 GB, free: 26.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.4418, allocations: 135.4 kB / 0.5502 GB, free: 26.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4418, allocations: 0 / 0.5502 GB, free: 26.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.4422, allocations: 77.12 kB / 0.5503 GB, free: 26.02 MB / 378.7 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009244/0.4431, allocations: 0.9513 MB / 0.5512 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006803/0.4438, allocations: 404.8 kB / 0.5516 GB, free: 25.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4438, allocations: 0 / 0.5516 GB, free: 25.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.4442, allocations: 256.7 kB / 0.5518 GB, free: 25.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.4443, allocations: 11.31 kB / 0.5519 GB, free: 25.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.4461, allocations: 1.342 MB / 0.5532 GB, free: 24.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.4465, allocations: 0.7458 MB / 0.5539 GB, free: 23.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.4466, allocations: 30.28 kB / 0.5539 GB, free: 23.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.4467, allocations: 65.83 kB / 0.554 GB, free: 23.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4468, allocations: 0 / 0.554 GB, free: 23.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.4631, allocations: 4.378 MB / 0.5583 GB, free: 23.42 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.4633, allocations: 206.1 kB / 0.5585 GB, free: 23.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.134, allocations: 3.938 kB / 0.5585 GB, free: 23.18 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)