Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.001018/0.001018, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008583, allocations: 87.69 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1589/0.1589, allocations: 38.08 MB / 357.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 12 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2325, allocations: 56.32 MB / 480.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.3531, allocations: 100.9 MB / 0.5677 GB, free: 1.488 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.3533, allocations: 91.95 kB / 0.5678 GB, free: 1.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03284/0.3862, allocations: 12.57 MB / 0.5801 GB, free: 4.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3862, allocations: 0 / 0.5801 GB, free: 4.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.3862, allocations: 16 kB / 0.5801 GB, free: 4.676 MB / 410.7 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.001089/0.3873, allocations: 0.7232 MB / 0.5808 GB, free: 3.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3874, allocations: 16.02 kB / 0.5808 GB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.69e-05/0.3875, allocations: 78.53 kB / 0.5809 GB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.388, allocations: 95.28 kB / 0.581 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.3899, allocations: 0.8575 MB / 0.5818 GB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3899, allocations: 32.94 kB / 0.5818 GB, free: 2.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.39, allocations: 51.98 kB / 0.5819 GB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.3908, allocations: 0.6255 MB / 0.5825 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3908, allocations: 4 kB / 0.5825 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.3908, allocations: 16 kB / 0.5825 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.3909, allocations: 28.98 kB / 0.5825 GB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006027/0.3915, allocations: 451.4 kB / 0.583 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.3944, allocations: 2.926 MB / 0.5858 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.3947, allocations: 209 kB / 0.586 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.3947, allocations: 16.05 kB / 0.586 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.3947, allocations: 38.56 kB / 0.5861 GB, free: 14.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.823e-06/0.3948, allocations: 0 / 0.5861 GB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001376/0.3961, allocations: 1.036 MB / 0.5871 GB, free: 13.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3962, allocations: 81.42 kB / 0.5872 GB, free: 12.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.3964, allocations: 291.6 kB / 0.5875 GB, free: 12.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.3965, allocations: 29.7 kB / 0.5875 GB, free: 12.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.3966, allocations: 295.1 kB / 0.5878 GB, free: 12.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.3967, allocations: 90.75 kB / 0.5878 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.3968, allocations: 7.984 kB / 0.5879 GB, free: 12.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3969, allocations: 350.8 kB / 0.5882 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.3971, allocations: 148.7 kB / 0.5883 GB, free: 11.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.3975, allocations: 325.2 kB / 0.5886 GB, free: 11.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3978, allocations: 212.9 kB / 0.5888 GB, free: 11.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3978, allocations: 0 / 0.5888 GB, free: 11.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001025/0.3989, allocations: 0.5782 MB / 0.5894 GB, free: 10.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3989, allocations: 8 kB / 0.5894 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005716/0.3995, allocations: 325.1 kB / 0.5897 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.3998, allocations: 80.8 kB / 0.5898 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.4002, allocations: 95.81 kB / 0.5899 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.4018, allocations: 1.616 MB / 0.5915 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.4021, allocations: 27.92 kB / 0.5915 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.4021, allocations: 24 kB / 0.5915 GB, free: 8.254 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * 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: 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.0002662/0.4024, allocations: 205.7 kB / 0.5917 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.4025, allocations: 35.91 kB / 0.5918 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/0.403, allocations: 352.6 kB / 0.5921 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.403, allocations: 11.98 kB / 0.5921 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4031, allocations: 3.953 kB / 0.5921 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4031, allocations: 3.984 kB / 0.5921 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.4043, allocations: 0.8682 MB / 0.593 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4043, allocations: 0 / 0.593 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.4047, allocations: 63.89 kB / 0.593 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.4047, allocations: 7.953 kB / 0.593 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.4047, allocations: 8 kB / 0.593 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4047, allocations: 4 kB / 0.593 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4047, allocations: 7.984 kB / 0.593 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.4054, allocations: 0.5845 MB / 0.5936 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.4054, allocations: 104.8 kB / 0.5937 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.4055, allocations: 8 kB / 0.5937 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.4057, allocations: 15.98 kB / 0.5937 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.4057, allocations: 23.97 kB / 0.5938 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4057, allocations: 4 kB / 0.5938 GB, free: 5.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.4059, allocations: 226.9 kB / 0.594 GB, free: 5.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4059, allocations: 0 / 0.594 GB, free: 5.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004628/0.4064, allocations: 111.9 kB / 0.5941 GB, free: 5.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (25): * Single equations (assignments): 23 * 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.0009389/0.4074, allocations: 1.351 MB / 0.5954 GB, free: 4.082 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.4081, allocations: 492.9 kB / 0.5959 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4081, allocations: 0 / 0.5959 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.4082, allocations: 143.8 kB / 0.596 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.4086, allocations: 65.44 kB / 0.5961 GB, free: 3.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.4129, allocations: 6.804 MB / 0.6027 GB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4133, allocations: 0.8854 MB / 0.6036 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.4136, allocations: 103.2 kB / 0.6037 GB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.4138, allocations: 147.4 kB / 0.6038 GB, free: 11.25 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4138, allocations: 0 / 0.6038 GB, free: 11.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.4327, allocations: 7.209 MB / 0.6109 GB, free: 4.109 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.433, allocations: 208.5 kB / 0.6111 GB, free: 3.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.272, allocations: 0 / 0.6111 GB, free: 3.867 MB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat does not exist to compare? outputFormat=mat