Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001395/0.001394, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 88.39 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1934/0.1934, allocations: 37.98 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.644e-05, allocations: 4 kB / 410.7 MB, free: 46.84 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 56.32 MB / 467 MB, free: 6.453 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5825, allocations: 95.1 MB / 0.5489 GB, free: 15.75 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5828, allocations: 87.95 kB / 0.549 GB, free: 15.67 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0359/0.6187, allocations: 12.77 MB / 0.5615 GB, free: 2.75 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6188, allocations: 4 kB / 0.5615 GB, free: 2.746 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.951e-05/0.6188, allocations: 15.94 kB / 0.5615 GB, free: 2.73 MB / 395.1 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.00107/0.6199, allocations: 0.6248 MB / 0.5621 GB, free: 2.059 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.62, allocations: 8.031 kB / 0.5621 GB, free: 2.051 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.6206, allocations: 95.36 kB / 0.5622 GB, free: 1.957 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.623, allocations: 0.865 MB / 0.5631 GB, free: 1.051 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.623, allocations: 16 kB / 0.5631 GB, free: 1.035 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.6231, allocations: 28 kB / 0.5631 GB, free: 1.008 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004738/0.6236, allocations: 265.4 kB / 0.5633 GB, free: 0.75 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.6242, allocations: 408.8 kB / 0.5637 GB, free: 332 kB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.6242, allocations: 0 / 0.5637 GB, free: 332 kB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.6243, allocations: 3.953 kB / 0.5637 GB, free: 328 kB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/0.6243, allocations: 28.77 kB / 0.5638 GB, free: 300 kB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.6264, allocations: 1.549 MB / 0.5653 GB, free: 14.66 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.6269, allocations: 161.1 kB / 0.5654 GB, free: 14.48 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.6272, allocations: 105.8 kB / 0.5655 GB, free: 14.38 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.6272, allocations: 7.953 kB / 0.5655 GB, free: 14.37 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.6273, allocations: 34.56 kB / 0.5656 GB, free: 14.32 MB / 411.1 MB Notification: Performance of pre-optimization done (n=19): time 2.766e-06/0.6273, allocations: 0 / 0.5656 GB, free: 14.32 MB / 411.1 MB Notification: Performance of matching and sorting (n=20): time 0.001705/0.629, allocations: 0.6805 MB / 0.5662 GB, free: 13.59 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.6291, allocations: 77.11 kB / 0.5663 GB, free: 13.5 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.6295, allocations: 245.1 kB / 0.5665 GB, free: 13.25 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.6296, allocations: 25.7 kB / 0.5666 GB, free: 13.22 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.6299, allocations: 259.8 kB / 0.5668 GB, free: 12.96 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.63, allocations: 70.94 kB / 0.5669 GB, free: 12.89 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.63, allocations: 0 / 0.5669 GB, free: 12.89 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.6302, allocations: 342.8 kB / 0.5672 GB, free: 12.55 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.6305, allocations: 87.97 kB / 0.5673 GB, free: 12.46 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.6308, allocations: 189.1 kB / 0.5675 GB, free: 12.23 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.6312, allocations: 127.9 kB / 0.5676 GB, free: 12.11 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.6312, allocations: 4 kB / 0.5676 GB, free: 12.1 MB / 411.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001261/0.6325, allocations: 386.8 kB / 0.568 GB, free: 11.71 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.6325, allocations: 8.625 kB / 0.568 GB, free: 11.71 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000728/0.6332, allocations: 244.5 kB / 0.5682 GB, free: 11.46 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004963/0.6338, allocations: 81.03 kB / 0.5683 GB, free: 11.38 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.634, allocations: 55.91 kB / 0.5683 GB, free: 11.33 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.6362, allocations: 1.522 MB / 0.5698 GB, free: 9.691 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.6366, allocations: 11.97 kB / 0.5698 GB, free: 9.68 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.6366, allocations: 12 kB / 0.5699 GB, free: 9.668 MB / 411.1 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 0.0001806/0.6368, allocations: 110.8 kB / 0.57 GB, free: 9.555 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005503/0.6374, allocations: 221.1 kB / 0.5702 GB, free: 9.332 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.6375, allocations: 31.58 kB / 0.5702 GB, free: 9.301 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006099/0.6381, allocations: 254.3 kB / 0.5704 GB, free: 9.051 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6381, allocations: 3.938 kB / 0.5704 GB, free: 9.047 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6381, allocations: 7.938 kB / 0.5705 GB, free: 9.039 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6382, allocations: 0 / 0.5705 GB, free: 9.039 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.6398, allocations: 0.6682 MB / 0.5711 GB, free: 8.32 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.6399, allocations: 8.062 kB / 0.5711 GB, free: 8.312 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.6403, allocations: 51.97 kB / 0.5712 GB, free: 8.262 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.6403, allocations: 4 kB / 0.5712 GB, free: 8.258 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.6403, allocations: 7.953 kB / 0.5712 GB, free: 8.25 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6403, allocations: 0 / 0.5712 GB, free: 8.25 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6404, allocations: 0 / 0.5712 GB, free: 8.25 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.6412, allocations: 470.4 kB / 0.5716 GB, free: 7.746 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.6413, allocations: 104.7 kB / 0.5717 GB, free: 7.625 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.6414, allocations: 0 / 0.5717 GB, free: 7.625 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.6417, allocations: 8.031 kB / 0.5717 GB, free: 7.617 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.6417, allocations: 15.98 kB / 0.5717 GB, free: 7.602 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.6418, allocations: 11.95 kB / 0.5718 GB, free: 7.59 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002962/0.6421, allocations: 196.6 kB / 0.5719 GB, free: 7.398 MB / 411.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6421, allocations: 0 / 0.5719 GB, free: 7.398 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008363/0.6429, allocations: 84 kB / 0.572 GB, free: 7.316 MB / 411.1 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.00151/0.6445, allocations: 1.215 MB / 0.5732 GB, free: 6.051 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0009567/0.6454, allocations: 346.1 kB / 0.5735 GB, free: 5.703 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6455, allocations: 0 / 0.5735 GB, free: 5.703 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.6457, allocations: 95.84 kB / 0.5736 GB, free: 5.609 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.6463, allocations: 59.09 kB / 0.5737 GB, free: 5.555 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.6488, allocations: 0.7875 MB / 0.5745 GB, free: 4.719 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.6494, allocations: 0.8577 MB / 0.5753 GB, free: 3.832 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0004064/0.6499, allocations: 71.22 kB / 0.5754 GB, free: 3.762 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.6502, allocations: 139.3 kB / 0.5755 GB, free: 3.625 MB / 411.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6502, allocations: 3.938 kB / 0.5755 GB, free: 3.621 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.683, allocations: 6.228 MB / 0.5816 GB, free: 13.4 MB / 427.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/0.6835, allocations: 152.8 kB / 0.5817 GB, free: 13.21 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.825, allocations: 0 / 0.5817 GB, free: 13.21 MB / 427.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat does not exist to compare? outputFormat=mat