Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.001043/0.001043, 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.326/1.326, allocations: 221.4 MB / 235.1 MB, free: 14.43 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.001055/0.001056, allocations: 91.8 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06927/0.06927, allocations: 8.103 MB / 345.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.452e-05, allocations: 0 / 405.6 MB, free: 61.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 52.51 MB / 458.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4653, allocations: 80.04 MB / 0.5255 GB, free: 5.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.4655, allocations: 65.53 kB / 0.5256 GB, free: 5.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.4818, allocations: 6.355 MB / 0.5318 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4818, allocations: 0 / 0.5318 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.4818, allocations: 0 / 0.5318 GB, free: 0.7812 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001257/0.4831, allocations: 0.5358 MB / 0.5323 GB, free: 228 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4831, allocations: 12.03 kB / 0.5323 GB, free: 216 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.4832, allocations: 49.56 kB / 0.5324 GB, free: 164 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.4833, allocations: 19.8 kB / 0.5324 GB, free: 144 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.4835, allocations: 222.1 kB / 0.5326 GB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4836, allocations: 11.23 kB / 0.5326 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4836, allocations: 9.5 kB / 0.5326 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.4839, allocations: 196 kB / 0.5328 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.484, allocations: 4 kB / 0.5328 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.484, allocations: 10.89 kB / 0.5328 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.484, allocations: 0 / 0.5328 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.4843, allocations: 158.4 kB / 0.533 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.4855, allocations: 0.7623 MB / 0.5337 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.486, allocations: 196.5 kB / 0.5339 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.4861, allocations: 91.05 kB / 0.534 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.4862, allocations: 85.09 kB / 0.5341 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.4863, allocations: 34.56 kB / 0.5341 GB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.4863, allocations: 0 / 0.5341 GB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001057/0.4874, allocations: 343.2 kB / 0.5344 GB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.4874, allocations: 84.67 kB / 0.5345 GB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.4876, allocations: 155.5 kB / 0.5346 GB, free: 14.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.4876, allocations: 29.27 kB / 0.5347 GB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.4877, allocations: 118.1 kB / 0.5348 GB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.4877, allocations: 54.06 kB / 0.5348 GB, free: 13.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.4878, allocations: 3.5 kB / 0.5348 GB, free: 13.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4879, allocations: 326.5 kB / 0.5352 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.488, allocations: 85.81 kB / 0.5352 GB, free: 13.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4881, allocations: 112.3 kB / 0.5353 GB, free: 13.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.4883, allocations: 87.72 kB / 0.5354 GB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4883, allocations: 3.938 kB / 0.5354 GB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009704/0.4893, allocations: 380.7 kB / 0.5358 GB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4893, allocations: 5.562 kB / 0.5358 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4893, allocations: 0 / 0.5358 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/0.4903, allocations: 177.1 kB / 0.536 GB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.4905, allocations: 35.91 kB / 0.536 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.4931, allocations: 1.814 MB / 0.5378 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.4933, allocations: 19.28 kB / 0.5378 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.4933, allocations: 4.547 kB / 0.5378 GB, free: 11.31 MB / 362.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 (16): * Single equations (assignments): 15 * 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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 9.98e-05/0.4934, allocations: 113.5 kB / 0.5379 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.4935, allocations: 19.77 kB / 0.5379 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.4946, allocations: 388 kB / 0.5383 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4946, allocations: 11.94 kB / 0.5383 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.4946, allocations: 0 / 0.5383 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4946, allocations: 0 / 0.5383 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.4949, allocations: 320.1 kB / 0.5386 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4949, allocations: 0 / 0.5386 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.4951, allocations: 26.88 kB / 0.5386 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008872/0.496, allocations: 184.8 kB / 0.5388 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.496, allocations: 3.062 kB / 0.5388 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.4982, allocations: 1.798 MB / 0.5406 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4982, allocations: 0 / 0.5406 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.4992, allocations: 454.1 kB / 0.541 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.4993, allocations: 100.6 kB / 0.5411 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4993, allocations: 0 / 0.5411 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.4995, allocations: 14.48 kB / 0.5411 GB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.4996, allocations: 19.8 kB / 0.5411 GB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4996, allocations: 4 kB / 0.5411 GB, free: 8.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.4997, allocations: 133.6 kB / 0.5413 GB, free: 8.125 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4997, allocations: 0 / 0.5413 GB, free: 8.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.5001, allocations: 66.03 kB / 0.5413 GB, free: 8.066 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 (15): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/0.5015, allocations: 1.008 MB / 0.5423 GB, free: 7.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008502/0.5023, allocations: 368.1 kB / 0.5427 GB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5024, allocations: 0 / 0.5427 GB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.5029, allocations: 273.7 kB / 0.5429 GB, free: 6.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.5032, allocations: 15.23 kB / 0.5429 GB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.5038, allocations: 250.1 kB / 0.5432 GB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.504, allocations: 0.7285 MB / 0.5439 GB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.5042, allocations: 21.19 kB / 0.5439 GB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5043, allocations: 51.98 kB / 0.544 GB, free: 5.57 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5043, allocations: 3.938 kB / 0.544 GB, free: 5.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.5224, allocations: 5.597 MB / 0.5494 GB, free: 116 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.5227, allocations: 178.2 kB / 0.5496 GB, free: 15.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.18, allocations: 0 / 0.5496 GB, free: 15.89 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)