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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001952, 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.512/1.512, allocations: 221.4 MB / 235.1 MB, free: 14.44 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.0009474/0.0009475, allocations: 88.77 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05745/0.05745, allocations: 8.11 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.269e-05, allocations: 0 / 405.6 MB, free: 61.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 52.52 MB / 458.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5097/0.636, allocations: 78.4 MB / 0.5239 GB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.6363, allocations: 70.41 kB / 0.524 GB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007558/0.6438, allocations: 2.962 MB / 0.5269 GB, free: 5.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6439, allocations: 0 / 0.5269 GB, free: 5.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.6439, allocations: 0 / 0.5269 GB, free: 5.172 MB / 346.7 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.0005699/0.6444, allocations: 392.7 kB / 0.5272 GB, free: 4.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6445, allocations: 8.031 kB / 0.5272 GB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.6445, allocations: 41.56 kB / 0.5273 GB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.6446, allocations: 11.86 kB / 0.5273 GB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.6448, allocations: 167.1 kB / 0.5274 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6448, allocations: 7.312 kB / 0.5275 GB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.6448, allocations: 8 kB / 0.5275 GB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.645, allocations: 91.25 kB / 0.5275 GB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.645, allocations: 0 / 0.5275 GB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.645, allocations: 3.625 kB / 0.5275 GB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.6451, allocations: 7.953 kB / 0.5276 GB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.018e-05/0.6452, allocations: 46.23 kB / 0.5276 GB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.6457, allocations: 374.6 kB / 0.528 GB, free: 3.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.646, allocations: 71.06 kB / 0.528 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.6461, allocations: 16.3 kB / 0.528 GB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.6462, allocations: 81.11 kB / 0.5281 GB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.6462, allocations: 38.42 kB / 0.5282 GB, free: 3.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.6462, allocations: 3.938 kB / 0.5282 GB, free: 3.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002991/0.6465, allocations: 84.84 kB / 0.5282 GB, free: 3.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6466, allocations: 51.41 kB / 0.5283 GB, free: 3.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.6467, allocations: 107.6 kB / 0.5284 GB, free: 3.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.6467, allocations: 29.14 kB / 0.5284 GB, free: 3.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.6468, allocations: 103.5 kB / 0.5285 GB, free: 3.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.6468, allocations: 14.28 kB / 0.5285 GB, free: 3.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-06/0.6468, allocations: 0 / 0.5285 GB, free: 3.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.647, allocations: 326.1 kB / 0.5288 GB, free: 3.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.647, allocations: 11 kB / 0.5289 GB, free: 3.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.647, allocations: 15.38 kB / 0.5289 GB, free: 3.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.072e-05/0.6471, allocations: 10.94 kB / 0.5289 GB, free: 3.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6471, allocations: 0 / 0.5289 GB, free: 3.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001952/0.6473, allocations: 83.53 kB / 0.529 GB, free: 2.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.6473, allocations: 9.703 kB / 0.529 GB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6473, allocations: 0 / 0.529 GB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.6475, allocations: 27.91 kB / 0.529 GB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.686e-05/0.6476, allocations: 4 kB / 0.529 GB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.6487, allocations: 1.285 MB / 0.5303 GB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.6488, allocations: 3.953 kB / 0.5303 GB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.6488, allocations: 4.406 kB / 0.5303 GB, free: 1.508 MB / 346.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 () * 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 (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 7.865e-05/0.6489, allocations: 103.3 kB / 0.5304 GB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.6489, allocations: 7.906 kB / 0.5304 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.6491, allocations: 102.3 kB / 0.5305 GB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6492, allocations: 7.938 kB / 0.5305 GB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6492, allocations: 3.953 kB / 0.5305 GB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6492, allocations: 0 / 0.5305 GB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.6494, allocations: 191 kB / 0.5307 GB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6494, allocations: 0 / 0.5307 GB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.6494, allocations: 4 kB / 0.5307 GB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.6496, allocations: 32.78 kB / 0.5307 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6496, allocations: 3.188 kB / 0.5307 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.6506, allocations: 1.28 MB / 0.5319 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6506, allocations: 3.953 kB / 0.532 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.6509, allocations: 182.7 kB / 0.5321 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.651, allocations: 84.95 kB / 0.5322 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.651, allocations: 10.98 kB / 0.5322 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.6511, allocations: 11.94 kB / 0.5322 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.6511, allocations: 12.08 kB / 0.5322 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.6511, allocations: 0 / 0.5322 GB, free: 15.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.999e-05/0.6512, allocations: 93.78 kB / 0.5323 GB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6512, allocations: 0 / 0.5323 GB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.6514, allocations: 23.25 kB / 0.5324 GB, free: 15.23 MB / 362.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 () * 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 (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.0005604/0.652, allocations: 0.7253 MB / 0.5331 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.6523, allocations: 152 kB / 0.5332 GB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6523, allocations: 0 / 0.5332 GB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.6525, allocations: 145.2 kB / 0.5333 GB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.6527, allocations: 6.875 kB / 0.5333 GB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.6531, allocations: 139.2 kB / 0.5335 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.6534, allocations: 0.6926 MB / 0.5342 GB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.6534, allocations: 12.17 kB / 0.5342 GB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.6535, allocations: 23.16 kB / 0.5342 GB, free: 13.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6535, allocations: 0 / 0.5342 GB, free: 13.28 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.668, allocations: 2.228 MB / 0.5364 GB, free: 11.17 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.6682, allocations: 160.9 kB / 0.5365 GB, free: 10.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.444, allocations: 0 / 0.5365 GB, free: 10.93 MB / 362.7 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/linux/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)