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.002023/0.002023, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.872/1.872, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001823/0.001823, allocations: 120.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1911/0.1911, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.722e-05, allocations: 4 kB / 397.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.348, allocations: 53.21 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.5326, allocations: 90.72 MB / 0.5289 GB, free: 2.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004608/0.5331, allocations: 91.8 kB / 0.529 GB, free: 2.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3903/0.9234, allocations: 12.87 MB / 0.5415 GB, free: 85.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.9235, allocations: 0 / 0.5415 GB, free: 85.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.9235, allocations: 15.28 kB / 0.5415 GB, free: 85.75 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001167/0.9247, allocations: 0.6264 MB / 0.5422 GB, free: 85.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.9248, allocations: 11.19 kB / 0.5422 GB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.848e-05/0.9249, allocations: 73.5 kB / 0.5422 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006799/0.9256, allocations: 97.45 kB / 0.5423 GB, free: 85.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.9277, allocations: 0.865 MB / 0.5432 GB, free: 84.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.9277, allocations: 24.06 kB / 0.5432 GB, free: 84.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.9278, allocations: 35.34 kB / 0.5432 GB, free: 84.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.9285, allocations: 461.3 kB / 0.5437 GB, free: 84.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.9285, allocations: 7.922 kB / 0.5437 GB, free: 84.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.9286, allocations: 15.88 kB / 0.5437 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.9286, allocations: 16.34 kB / 0.5437 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.9291, allocations: 334.7 kB / 0.544 GB, free: 84.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.931, allocations: 1.638 MB / 0.5456 GB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.9314, allocations: 168.9 kB / 0.5458 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.9315, allocations: 114.6 kB / 0.5459 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.9316, allocations: 0 / 0.5459 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.9316, allocations: 38.12 kB / 0.5459 GB, free: 82.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.542e-06/0.9316, allocations: 0 / 0.5459 GB, free: 82.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001207/0.9328, allocations: 0.709 MB / 0.5466 GB, free: 81.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.9329, allocations: 77.11 kB / 0.5467 GB, free: 81.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.9331, allocations: 272.4 kB / 0.547 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.9332, allocations: 33.64 kB / 0.547 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.9333, allocations: 241.9 kB / 0.5472 GB, free: 81.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.9333, allocations: 82.56 kB / 0.5473 GB, free: 81.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.9334, allocations: 7.938 kB / 0.5473 GB, free: 81.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.9334, allocations: 338.3 kB / 0.5476 GB, free: 81.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.9336, allocations: 97.41 kB / 0.5477 GB, free: 80.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.9337, allocations: 196.8 kB / 0.5479 GB, free: 80.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.9339, allocations: 128.4 kB / 0.548 GB, free: 80.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9339, allocations: 0 / 0.548 GB, free: 80.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006689/0.9346, allocations: 430.5 kB / 0.5484 GB, free: 80.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.9346, allocations: 8 kB / 0.5485 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004322/0.9351, allocations: 252.7 kB / 0.5487 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.9354, allocations: 76.78 kB / 0.5488 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.9357, allocations: 67.89 kB / 0.5488 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.9369, allocations: 1.578 MB / 0.5504 GB, free: 78.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.9371, allocations: 12.05 kB / 0.5504 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.9372, allocations: 23.94 kB / 0.5504 GB, free: 77.98 MB / 378.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 () * 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 8.869e-05/0.9373, allocations: 132.6 kB / 0.5505 GB, free: 77.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.9373, allocations: 35.56 kB / 0.5506 GB, free: 77.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/0.9377, allocations: 266.2 kB / 0.5508 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9378, allocations: 8 kB / 0.5508 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.9378, allocations: 0 / 0.5508 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.9378, allocations: 4 kB / 0.5508 GB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009783/0.9388, allocations: 0.7573 MB / 0.5516 GB, free: 76.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.9388, allocations: 0 / 0.5516 GB, free: 76.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.939, allocations: 51.91 kB / 0.5516 GB, free: 76.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.939, allocations: 0 / 0.5516 GB, free: 76.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.9391, allocations: 8 kB / 0.5516 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9391, allocations: 8.062 kB / 0.5516 GB, free: 76.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9391, allocations: 0 / 0.5516 GB, free: 76.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.9396, allocations: 486.5 kB / 0.5521 GB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.9396, allocations: 100.7 kB / 0.5522 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.9397, allocations: 11.95 kB / 0.5522 GB, free: 76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.9398, allocations: 11.98 kB / 0.5522 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.9399, allocations: 11.98 kB / 0.5522 GB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.9399, allocations: 8 kB / 0.5522 GB, free: 75.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.9401, allocations: 214.2 kB / 0.5524 GB, free: 75.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9401, allocations: 0 / 0.5524 GB, free: 75.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.9405, allocations: 95.94 kB / 0.5525 GB, free: 75.67 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 () * 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.0007979/0.9413, allocations: 1.254 MB / 0.5538 GB, free: 74.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005806/0.9419, allocations: 374.5 kB / 0.5541 GB, free: 74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9419, allocations: 0 / 0.5541 GB, free: 74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.9421, allocations: 95.88 kB / 0.5542 GB, free: 73.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.9425, allocations: 61.92 kB / 0.5543 GB, free: 73.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.9438, allocations: 0.8277 MB / 0.5551 GB, free: 72.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.9441, allocations: 0.8502 MB / 0.5559 GB, free: 72.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.9443, allocations: 78.89 kB / 0.556 GB, free: 72.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.9445, allocations: 131.4 kB / 0.5561 GB, free: 71.89 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.9445, allocations: 0 / 0.5561 GB, free: 71.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.965, allocations: 7.093 MB / 0.563 GB, free: 64.81 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.9653, allocations: 173.8 kB / 0.5632 GB, free: 64.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/3.207, allocations: 0 / 0.5632 GB, free: 64.59 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)