Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",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.001814/0.001814, allocations: 177.1 kB / 8.35 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.897/1.897, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001065/0.001065, allocations: 85.03 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1844/0.1844, allocations: 37.99 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.461e-05, allocations: 4 kB / 410.7 MB, free: 46.87 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 56.32 MB / 467 MB, free: 6.484 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.6406, allocations: 101.5 MB / 0.5551 GB, free: 9.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.641, allocations: 83.95 kB / 0.5552 GB, free: 9.258 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04355/0.6845, allocations: 13.62 MB / 0.5685 GB, free: 11.52 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6846, allocations: 0 / 0.5685 GB, free: 11.52 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.388e-05/0.6846, allocations: 12 kB / 0.5685 GB, free: 11.5 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001474/0.6861, allocations: 0.7152 MB / 0.5692 GB, free: 10.74 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.6862, allocations: 8.781 kB / 0.5692 GB, free: 10.73 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.6867, allocations: 91.28 kB / 0.5693 GB, free: 10.64 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.6893, allocations: 0.9395 MB / 0.5702 GB, free: 9.668 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.6893, allocations: 12 kB / 0.5702 GB, free: 9.656 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.6894, allocations: 31.91 kB / 0.5703 GB, free: 9.625 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007655/0.6902, allocations: 430.4 kB / 0.5707 GB, free: 9.203 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/0.6911, allocations: 0.6108 MB / 0.5713 GB, free: 8.531 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.6912, allocations: 4 kB / 0.5713 GB, free: 8.527 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.6912, allocations: 7.938 kB / 0.5713 GB, free: 8.52 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-05/0.6913, allocations: 40.72 kB / 0.5713 GB, free: 8.477 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/0.6952, allocations: 2.942 MB / 0.5742 GB, free: 5.41 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.6959, allocations: 325.6 kB / 0.5745 GB, free: 5.074 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.6962, allocations: 190.2 kB / 0.5747 GB, free: 4.883 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.6962, allocations: 11.97 kB / 0.5747 GB, free: 4.871 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.6963, allocations: 38.56 kB / 0.5747 GB, free: 4.824 MB / 411.1 MB Notification: Performance of pre-optimization done (n=35): time 4.248e-06/0.6963, allocations: 0 / 0.5747 GB, free: 4.824 MB / 411.1 MB Notification: Performance of matching and sorting (n=36): time 0.001991/0.6983, allocations: 1.108 MB / 0.5758 GB, free: 3.66 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.6984, allocations: 77.11 kB / 0.5759 GB, free: 3.566 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.6987, allocations: 318.2 kB / 0.5762 GB, free: 3.25 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.6987, allocations: 29.73 kB / 0.5762 GB, free: 3.215 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.6989, allocations: 287.3 kB / 0.5765 GB, free: 2.926 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.699, allocations: 126.2 kB / 0.5766 GB, free: 2.801 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.6991, allocations: 0 / 0.5766 GB, free: 2.801 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6992, allocations: 354.7 kB / 0.577 GB, free: 2.445 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.6995, allocations: 197 kB / 0.5771 GB, free: 2.254 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.6999, allocations: 357.9 kB / 0.5775 GB, free: 1.824 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.7002, allocations: 257.1 kB / 0.5777 GB, free: 1.574 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7003, allocations: 0 / 0.5777 GB, free: 1.574 MB / 411.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002016/0.7023, allocations: 0.8045 MB / 0.5785 GB, free: 0.7578 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.7023, allocations: 8 kB / 0.5785 GB, free: 0.75 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.7023, allocations: 11.98 kB / 0.5785 GB, free: 0.7383 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.7039, allocations: 293.7 kB / 0.5788 GB, free: 456 kB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.7046, allocations: 135.8 kB / 0.5789 GB, free: 320 kB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/0.7092, allocations: 3.612 MB / 0.5825 GB, free: 12.47 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.7097, allocations: 32.3 kB / 0.5825 GB, free: 12.44 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.7097, allocations: 20 kB / 0.5825 GB, free: 12.42 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.7099, allocations: 120.8 kB / 0.5826 GB, free: 12.29 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008204/0.7107, allocations: 440.8 kB / 0.5831 GB, free: 11.86 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.7108, allocations: 35.53 kB / 0.5831 GB, free: 11.82 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008633/0.7117, allocations: 0.5017 MB / 0.5836 GB, free: 11.31 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.7117, allocations: 11.98 kB / 0.5836 GB, free: 11.3 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7117, allocations: 3.953 kB / 0.5836 GB, free: 11.29 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.7117, allocations: 3.984 kB / 0.5836 GB, free: 11.29 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.7133, allocations: 0.9956 MB / 0.5846 GB, free: 10.24 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7133, allocations: 4.156 kB / 0.5846 GB, free: 10.24 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.7137, allocations: 91.81 kB / 0.5847 GB, free: 10.15 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.7138, allocations: 7.953 kB / 0.5847 GB, free: 10.14 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.7138, allocations: 11.98 kB / 0.5847 GB, free: 10.13 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.7138, allocations: 3.938 kB / 0.5847 GB, free: 10.12 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.7138, allocations: 4 kB / 0.5847 GB, free: 10.12 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.715, allocations: 0.8398 MB / 0.5855 GB, free: 9.238 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.7151, allocations: 116.6 kB / 0.5856 GB, free: 9.105 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.7152, allocations: 0 / 0.5856 GB, free: 9.105 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.7155, allocations: 19.97 kB / 0.5856 GB, free: 9.086 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.7155, allocations: 24.03 kB / 0.5857 GB, free: 9.062 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.7156, allocations: 16 kB / 0.5857 GB, free: 9.047 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.7158, allocations: 232.6 kB / 0.5859 GB, free: 8.824 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7159, allocations: 0 / 0.5859 GB, free: 8.824 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006905/0.7165, allocations: 131.9 kB / 0.586 GB, free: 8.695 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * 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.001577/0.7181, allocations: 1.613 MB / 0.5876 GB, free: 7.031 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.72, allocations: 0.7772 MB / 0.5884 GB, free: 6.234 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.72, allocations: 0 / 0.5884 GB, free: 6.234 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.7203, allocations: 228.8 kB / 0.5886 GB, free: 6.012 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.7208, allocations: 69.84 kB / 0.5886 GB, free: 5.945 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.7231, allocations: 1.163 MB / 0.5898 GB, free: 4.73 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.7237, allocations: 0.921 MB / 0.5907 GB, free: 3.785 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0004225/0.7241, allocations: 131.3 kB / 0.5908 GB, free: 3.656 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.7244, allocations: 167.4 kB / 0.591 GB, free: 3.492 MB / 427.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7244, allocations: 4 kB / 0.591 GB, free: 3.488 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.7593, allocations: 9.599 MB / 0.6003 GB, free: 9.895 MB / 443.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.7597, allocations: 139.6 kB / 0.6005 GB, free: 9.699 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/3.014, allocations: 0 / 0.6005 GB, free: 9.699 MB / 443.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat does not exist to compare? outputFormat=mat