Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001199/0.001198, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.248/1.248, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001511/0.001511, allocations: 115.8 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1535/0.1535, allocations: 38 MB / 340.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 15.97 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06927/0.06962, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2549/0.3246, allocations: 90.8 MB / 0.5351 GB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.3249, allocations: 96.12 kB / 0.5352 GB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03088/0.3558, allocations: 12.88 MB / 0.5477 GB, free: 9.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3558, allocations: 0 / 0.5477 GB, free: 9.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.3558, allocations: 8 kB / 0.5478 GB, free: 9.363 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009443/0.3568, allocations: 0.6869 MB / 0.5484 GB, free: 8.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3568, allocations: 16.02 kB / 0.5484 GB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.3569, allocations: 72.97 kB / 0.5485 GB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000542/0.3574, allocations: 95.38 kB / 0.5486 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.3593, allocations: 0.8835 MB / 0.5495 GB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3593, allocations: 20.66 kB / 0.5495 GB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.3594, allocations: 38.39 kB / 0.5495 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.3599, allocations: 475.5 kB / 0.55 GB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.36, allocations: 7.875 kB / 0.55 GB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.36, allocations: 14.75 kB / 0.55 GB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.36, allocations: 17 kB / 0.55 GB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.3605, allocations: 340.5 kB / 0.5503 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.3623, allocations: 1.636 MB / 0.5519 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.3625, allocations: 174.5 kB / 0.5521 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3626, allocations: 3.984 kB / 0.5521 GB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3626, allocations: 38.95 kB / 0.5521 GB, free: 5.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.3626, allocations: 3.938 kB / 0.5521 GB, free: 5.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001073/0.3637, allocations: 0.7825 MB / 0.5529 GB, free: 4.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3637, allocations: 81.11 kB / 0.553 GB, free: 4.578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.364, allocations: 273.4 kB / 0.5532 GB, free: 4.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.364, allocations: 28.83 kB / 0.5533 GB, free: 4.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3641, allocations: 256.8 kB / 0.5535 GB, free: 4.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.3642, allocations: 68.5 kB / 0.5536 GB, free: 4.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.3642, allocations: 9.859 kB / 0.5536 GB, free: 4.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.3643, allocations: 339.9 kB / 0.5539 GB, free: 3.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.3644, allocations: 94 kB / 0.554 GB, free: 3.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3646, allocations: 203.2 kB / 0.5542 GB, free: 3.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3648, allocations: 129.8 kB / 0.5543 GB, free: 3.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3648, allocations: 0 / 0.5543 GB, free: 3.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007078/0.3655, allocations: 434.1 kB / 0.5547 GB, free: 3.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3655, allocations: 13.05 kB / 0.5547 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004617/0.366, allocations: 256.6 kB / 0.555 GB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.3663, allocations: 80.64 kB / 0.5551 GB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.3665, allocations: 62.47 kB / 0.5551 GB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.3679, allocations: 1.609 MB / 0.5567 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3681, allocations: 13.98 kB / 0.5567 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3681, allocations: 14.75 kB / 0.5567 GB, free: 1.098 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.3683, allocations: 200.1 kB / 0.5569 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.3683, allocations: 27.62 kB / 0.5569 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.3687, allocations: 268.4 kB / 0.5572 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3687, allocations: 3.984 kB / 0.5572 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.3687, allocations: 4 kB / 0.5572 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3687, allocations: 0 / 0.5572 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.3697, allocations: 0.7507 MB / 0.5579 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3697, allocations: 11.98 kB / 0.558 GB, free: 16 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.37, allocations: 39.98 kB / 0.558 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.37, allocations: 4 kB / 0.558 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.37, allocations: 11.11 kB / 0.558 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.37, allocations: 3.938 kB / 0.558 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.37, allocations: 4 kB / 0.558 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.3705, allocations: 495.6 kB / 0.5585 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.3705, allocations: 104.7 kB / 0.5586 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.3706, allocations: 6.938 kB / 0.5586 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3707, allocations: 15.34 kB / 0.5586 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.3708, allocations: 19.23 kB / 0.5586 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3708, allocations: 4 kB / 0.5586 GB, free: 15.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.371, allocations: 216.1 kB / 0.5588 GB, free: 15.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.371, allocations: 0 / 0.5588 GB, free: 15.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003658/0.3713, allocations: 100.5 kB / 0.5589 GB, free: 15.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007451/0.3721, allocations: 1.245 MB / 0.5601 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.3726, allocations: 376.5 kB / 0.5605 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3726, allocations: 192 / 0.5605 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3728, allocations: 101.5 kB / 0.5606 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3731, allocations: 52.47 kB / 0.5607 GB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.3764, allocations: 4.521 MB / 0.5651 GB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3767, allocations: 0.8514 MB / 0.5659 GB, free: 8.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.3769, allocations: 74.89 kB / 0.566 GB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3771, allocations: 139 kB / 0.5661 GB, free: 8.188 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3771, allocations: 0 / 0.5661 GB, free: 8.188 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8379/1.215, allocations: 7.054 MB / 0.573 GB, free: 1.148 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/1.215, allocations: 203.2 kB / 0.5732 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.501, allocations: 8.062 kB / 0.5732 GB, free: 0.8984 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)