Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.0008619, allocations: 95.66 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3007/0.3007, allocations: 38.07 MB / 330.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 12 kB / 400.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2702, allocations: 59.15 MB / 459.2 MB, free: 29.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00688/0.2771, allocations: 6.418 MB / 465.6 MB, free: 25.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.2813, allocations: 2.253 MB / 467.9 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/0.2818, allocations: 37.31 kB / 467.9 MB, free: 23.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.2823, allocations: 163.6 kB / 468.1 MB, free: 23.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.2835, allocations: 447.5 kB / 468.5 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.2843, allocations: 324.8 kB / 468.8 MB, free: 23.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.2852, allocations: 0.6603 MB / 469.5 MB, free: 23.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.2863, allocations: 0.8422 MB / 470.3 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.2869, allocations: 384.4 kB / 470.7 MB, free: 22.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007999/0.2877, allocations: 0.5235 MB / 471.2 MB, free: 22.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.2878, allocations: 48.44 kB / 471.3 MB, free: 22.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009898/0.2888, allocations: 0.4927 MB / 471.8 MB, free: 22.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004054/0.2892, allocations: 391.4 kB / 472.2 MB, free: 22.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.2894, allocations: 191.8 kB / 472.4 MB, free: 21.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.2907, allocations: 1.147 MB / 473.5 MB, free: 21.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2908, allocations: 1.25 kB / 473.5 MB, free: 21.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2908, allocations: 0 / 473.5 MB, free: 21.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.2908, allocations: 0 / 473.5 MB, free: 21.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00245/0.2932, allocations: 1.234 MB / 474.7 MB, free: 20.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2933, allocations: 9.688 kB / 474.7 MB, free: 20.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.2935, allocations: 143 kB / 474.9 MB, free: 20.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006954/0.2942, allocations: 150.3 kB / 475 MB, free: 20.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.2953, allocations: 0.6485 MB / 475.7 MB, free: 20.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.2955, allocations: 177.2 kB / 475.9 MB, free: 20.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.2957, allocations: 81.31 kB / 475.9 MB, free: 20.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.2977, allocations: 1.42 MB / 477.4 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2978, allocations: 9.391 kB / 477.4 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-05/0.2979, allocations: 30.75 kB / 477.4 MB, free: 19.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.2981, allocations: 82.77 kB / 477.5 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3005, allocations: 1.563 MB / 479 MB, free: 18.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006255/0.3067, allocations: 4.457 MB / 483.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.3086, allocations: 1.254 MB / 484.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.3087, allocations: 12.72 kB / 484.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3087, allocations: 39.22 kB / 484.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.635e-06/0.3087, allocations: 0 / 484.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.0056/0.3143, allocations: 4.182 MB / 489 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3144, allocations: 90.06 kB / 489.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.3147, allocations: 401.8 kB / 489.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.3148, allocations: 41.69 kB / 489.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3149, allocations: 344.2 kB / 489.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.3151, allocations: 358.8 kB / 490.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3152, allocations: 12 kB / 490.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.3153, allocations: 378.8 kB / 490.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008532/0.3161, allocations: 0.611 MB / 491.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009086/0.317, allocations: 0.762 MB / 491.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/0.318, allocations: 0.6823 MB / 492.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.318, allocations: 0 / 492.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002136/0.3202, allocations: 1.623 MB / 494.2 MB, free: 4.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3202, allocations: 4 kB / 494.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3202, allocations: 4 kB / 494.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.3203, allocations: 36.98 kB / 494.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.3227, allocations: 0.6282 MB / 494.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/0.3283, allocations: 6.395 MB / 0.4896 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.3291, allocations: 91.89 kB / 0.4897 GB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/0.3292, allocations: 32 kB / 0.4897 GB, free: 12.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005663/0.3298, allocations: 323.9 kB / 0.49 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.33, allocations: 63.25 kB / 0.4901 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.3327, allocations: 1.612 MB / 0.4916 GB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-05/0.3327, allocations: 27.98 kB / 0.4917 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3328, allocations: 3.938 kB / 0.4917 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3328, allocations: 3.984 kB / 0.4917 GB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/0.3374, allocations: 2.888 MB / 0.4945 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3375, allocations: 4.219 kB / 0.4945 GB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/0.3404, allocations: 0.6867 MB / 0.4952 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-05/0.3405, allocations: 28.84 kB / 0.4952 GB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.344e-05/0.3406, allocations: 19.98 kB / 0.4952 GB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.3417, allocations: 1.4 MB / 0.4966 GB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3417, allocations: 0 / 0.4966 GB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.3461, allocations: 2.676 MB / 0.4992 GB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.3464, allocations: 136.3 kB / 0.4993 GB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.3465, allocations: 20.06 kB / 0.4993 GB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/0.3472, allocations: 87.89 kB / 0.4994 GB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.3474, allocations: 76.48 kB / 0.4995 GB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.3475, allocations: 24 kB / 0.4995 GB, free: 2.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003463/0.3479, allocations: 275.1 kB / 0.4998 GB, free: 1.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3479, allocations: 0 / 0.4998 GB, free: 1.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001094/0.349, allocations: 240 kB / 0.5 GB, free: 1.555 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (87): * Single equations (assignments): 82 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004728/0.3537, allocations: 3.81 MB / 0.5037 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004421/0.3581, allocations: 2.001 MB / 0.5057 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3582, allocations: 3.938 kB / 0.5057 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.3612, allocations: 1.335 MB / 0.507 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/0.3621, allocations: 129.5 kB / 0.5071 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.3753, allocations: 9.077 MB / 0.516 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008482/0.3762, allocations: 1.096 MB / 0.517 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008609/0.3771, allocations: 273.5 kB / 0.5173 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.3776, allocations: 287.3 kB / 0.5176 GB, free: 15.23 MB / 398.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3776, allocations: 0 / 0.5176 GB, free: 15.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.4138, allocations: 16.83 MB / 0.534 GB, free: 14.65 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.414, allocations: 216.9 kB / 0.5342 GB, free: 14.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.388, allocations: 0 / 0.5342 GB, free: 14.41 MB / 414.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat does not exist to compare? outputFormat=mat