Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.00196/0.00196, 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.457/1.457, allocations: 223.2 MB / 239.7 MB, free: 1.781 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.0009178/0.0009175, allocations: 102.4 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.04506/0.04506, allocations: 8.106 MB / 350.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 13.16 kB / 413.2 MB, free: 89.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08659/0.0869, allocations: 52.53 MB / 465.7 MB, free: 41.96 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.4019, allocations: 78.46 MB / 0.5314 GB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4022, allocations: 59.83 kB / 0.5315 GB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02235/0.4246, allocations: 9.384 MB / 0.5406 GB, free: 31.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4246, allocations: 0 / 0.5406 GB, free: 31.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.977e-05/0.4247, allocations: 7.812 kB / 0.5406 GB, free: 31.55 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001909/0.4266, allocations: 0.7231 MB / 0.5413 GB, free: 31.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4266, allocations: 11.59 kB / 0.5414 GB, free: 31.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.4268, allocations: 58.28 kB / 0.5414 GB, free: 31.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.4269, allocations: 31.09 kB / 0.5414 GB, free: 31.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.4273, allocations: 289.2 kB / 0.5417 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4273, allocations: 19.48 kB / 0.5417 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.4274, allocations: 18.88 kB / 0.5418 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.4279, allocations: 340.9 kB / 0.5421 GB, free: 30.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4279, allocations: 0 / 0.5421 GB, free: 30.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.428, allocations: 11.02 kB / 0.5421 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.428, allocations: 7.625 kB / 0.5421 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.4285, allocations: 333.8 kB / 0.5424 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.4302, allocations: 1.117 MB / 0.5435 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.4308, allocations: 399.8 kB / 0.5439 GB, free: 30.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.053e-05/0.4309, allocations: 9.719 kB / 0.5439 GB, free: 30.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4309, allocations: 41.58 kB / 0.5439 GB, free: 30.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.795e-06/0.4309, allocations: 0 / 0.5439 GB, free: 30.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002228/0.4331, allocations: 1.046 MB / 0.545 GB, free: 30.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.4332, allocations: 63.02 kB / 0.545 GB, free: 29.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4334, allocations: 217.6 kB / 0.5452 GB, free: 29.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.4335, allocations: 33.27 kB / 0.5453 GB, free: 29.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.4336, allocations: 146.5 kB / 0.5454 GB, free: 29.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.4337, allocations: 117.8 kB / 0.5455 GB, free: 29.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.4337, allocations: 7.875 kB / 0.5455 GB, free: 29.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4338, allocations: 343 kB / 0.5458 GB, free: 29.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.4341, allocations: 188.8 kB / 0.546 GB, free: 29.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.4344, allocations: 201.1 kB / 0.5462 GB, free: 29.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.4347, allocations: 212.5 kB / 0.5464 GB, free: 29.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4347, allocations: 0 / 0.5464 GB, free: 29.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001142/0.4358, allocations: 0.6251 MB / 0.547 GB, free: 29.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4359, allocations: 3.875 kB / 0.547 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.4359, allocations: 3.953 kB / 0.547 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/0.4366, allocations: 156.4 kB / 0.5472 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.4369, allocations: 62.83 kB / 0.5472 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.441, allocations: 4.341 MB / 0.5515 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.4414, allocations: 26.78 kB / 0.5515 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.4414, allocations: 11.88 kB / 0.5515 GB, free: 25.35 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 (38): * Single equations (assignments): 35 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.4417, allocations: 155.4 kB / 0.5517 GB, free: 25.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.4417, allocations: 27.3 kB / 0.5517 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.443, allocations: 0.5943 MB / 0.5523 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.443, allocations: 3.969 kB / 0.5523 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.443, allocations: 3.938 kB / 0.5523 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.443, allocations: 5.922 kB / 0.5523 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.4435, allocations: 0.4975 MB / 0.5528 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4436, allocations: 0 / 0.5528 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.4438, allocations: 53.92 kB / 0.5528 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/0.4443, allocations: 150.9 kB / 0.553 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.4444, allocations: 7.438 kB / 0.553 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.4477, allocations: 4.335 MB / 0.5572 GB, free: 21.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4477, allocations: 5.75 kB / 0.5572 GB, free: 21.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.4487, allocations: 0.6279 MB / 0.5578 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.4488, allocations: 115.8 kB / 0.5579 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.4488, allocations: 9.453 kB / 0.5579 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.449, allocations: 7.531 kB / 0.558 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.4491, allocations: 27.77 kB / 0.558 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.4491, allocations: 13.14 kB / 0.558 GB, free: 20.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.4493, allocations: 177.4 kB / 0.5582 GB, free: 20.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4493, allocations: 3.781 kB / 0.5582 GB, free: 20.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004698/0.4498, allocations: 110.1 kB / 0.5583 GB, free: 20.69 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(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.001275/0.4511, allocations: 1.188 MB / 0.5594 GB, free: 19.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4524, allocations: 0.8134 MB / 0.5602 GB, free: 19.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4524, allocations: 3.938 kB / 0.5602 GB, free: 19.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008938/0.4533, allocations: 0.5796 MB / 0.5608 GB, free: 19.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.4535, allocations: 16.31 kB / 0.5608 GB, free: 19.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.4563, allocations: 2.003 MB / 0.5628 GB, free: 18.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.4566, allocations: 0.7608 MB / 0.5635 GB, free: 17.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.4568, allocations: 33.94 kB / 0.5635 GB, free: 17.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.457, allocations: 77.7 kB / 0.5636 GB, free: 17.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.827e-06/0.457, allocations: 0.9062 kB / 0.5636 GB, free: 17.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.4766, allocations: 6.822 MB / 0.5703 GB, free: 17.42 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/0.4767, allocations: 198.5 kB / 0.5705 GB, free: 17.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.485, allocations: 0 / 0.5705 GB, free: 17.18 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)