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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 176.4 kB / 8.346 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.845/1.845, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0009872/0.0009871, allocations: 97.16 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2628/0.2628, allocations: 37.99 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.267e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1386, allocations: 56.32 MB / 467 MB, free: 6.477 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.6188, allocations: 109 MB / 0.5625 GB, free: 1.75 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.6191, allocations: 88.64 kB / 0.5626 GB, free: 1.664 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06909/0.6882, allocations: 24.2 MB / 0.5862 GB, free: 9.207 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6883, allocations: 0 / 0.5862 GB, free: 9.207 MB / 427.1 MB Notification: Performance of Transformations before backend: time 5.008e-05/0.6883, allocations: 27.94 kB / 0.5862 GB, free: 9.18 MB / 427.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.002803/0.6911, allocations: 1.193 MB / 0.5874 GB, free: 7.934 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.6912, allocations: 12.03 kB / 0.5874 GB, free: 7.922 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.692, allocations: 146.8 kB / 0.5876 GB, free: 7.777 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.6953, allocations: 1.246 MB / 0.5888 GB, free: 6.488 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.6956, allocations: 147.1 kB / 0.5889 GB, free: 6.324 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.6958, allocations: 51.91 kB / 0.589 GB, free: 6.273 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001953/0.6977, allocations: 1.167 MB / 0.5901 GB, free: 5.105 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.6996, allocations: 1.228 MB / 0.5913 GB, free: 3.832 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.6996, allocations: 0 / 0.5913 GB, free: 3.832 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.6997, allocations: 0 / 0.5913 GB, free: 3.832 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.6999, allocations: 78.7 kB / 0.5914 GB, free: 3.758 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007056/0.707, allocations: 4.331 MB / 0.5956 GB, free: 15.31 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.7087, allocations: 1.142 MB / 0.5967 GB, free: 14.13 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.7096, allocations: 0.6889 MB / 0.5974 GB, free: 13.44 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.7097, allocations: 20.7 kB / 0.5974 GB, free: 13.41 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.7098, allocations: 47.3 kB / 0.5975 GB, free: 13.36 MB / 443.1 MB Notification: Performance of pre-optimization done (n=103): time 3.928e-06/0.7098, allocations: 0 / 0.5975 GB, free: 13.36 MB / 443.1 MB Notification: Performance of matching and sorting (n=104): time 0.005837/0.7156, allocations: 3.177 MB / 0.6006 GB, free: 10.13 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.7157, allocations: 93.81 kB / 0.6006 GB, free: 10.02 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.7161, allocations: 274.4 kB / 0.6009 GB, free: 9.742 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/0.7162, allocations: 25.7 kB / 0.6009 GB, free: 9.711 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.7164, allocations: 344.2 kB / 0.6013 GB, free: 9.367 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.7168, allocations: 342.8 kB / 0.6016 GB, free: 9.027 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.7168, allocations: 0 / 0.6016 GB, free: 9.027 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.717, allocations: 382.8 kB / 0.602 GB, free: 8.645 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.7178, allocations: 0.5297 MB / 0.6025 GB, free: 8.117 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/0.7186, allocations: 0.6842 MB / 0.6031 GB, free: 7.383 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.72, allocations: 0.7474 MB / 0.6039 GB, free: 6.637 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.72, allocations: 4 kB / 0.6039 GB, free: 6.633 MB / 443.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002412/0.7224, allocations: 1.465 MB / 0.6053 GB, free: 5.16 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.7225, allocations: 8 kB / 0.6053 GB, free: 5.152 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7225, allocations: 4 kB / 0.6053 GB, free: 5.148 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.7225, allocations: 11.95 kB / 0.6053 GB, free: 5.137 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.7252, allocations: 0.6286 MB / 0.6059 GB, free: 4.508 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/0.7295, allocations: 4.376 MB / 0.6102 GB, free: 15.79 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/0.7303, allocations: 79.98 kB / 0.6103 GB, free: 15.71 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.7304, allocations: 32 kB / 0.6103 GB, free: 15.68 MB / 459.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002159/0.7306, allocations: 120.8 kB / 0.6104 GB, free: 15.56 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002414/0.733, allocations: 1.344 MB / 0.6117 GB, free: 14.21 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7331, allocations: 63.2 kB / 0.6118 GB, free: 14.15 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.7357, allocations: 1.461 MB / 0.6132 GB, free: 12.68 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.373e-05/0.7358, allocations: 35.97 kB / 0.6133 GB, free: 12.64 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.7358, allocations: 4 kB / 0.6133 GB, free: 12.64 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.7358, allocations: 3.984 kB / 0.6133 GB, free: 12.63 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.7404, allocations: 2.703 MB / 0.6159 GB, free: 9.859 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.7405, allocations: 7.984 kB / 0.6159 GB, free: 9.852 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/0.7435, allocations: 0.6868 MB / 0.6166 GB, free: 9.164 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.7435, allocations: 4 kB / 0.6166 GB, free: 9.16 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.7436, allocations: 11.98 kB / 0.6166 GB, free: 9.148 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.7436, allocations: 7.938 kB / 0.6166 GB, free: 9.141 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.7436, allocations: 4 kB / 0.6166 GB, free: 9.137 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.7472, allocations: 2.492 MB / 0.6191 GB, free: 6.555 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.7474, allocations: 124.4 kB / 0.6192 GB, free: 6.414 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.7475, allocations: 11.98 kB / 0.6192 GB, free: 6.402 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.7481, allocations: 75.84 kB / 0.6193 GB, free: 6.328 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.7483, allocations: 76.67 kB / 0.6193 GB, free: 6.25 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.7484, allocations: 24 kB / 0.6194 GB, free: 6.227 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.7487, allocations: 216.5 kB / 0.6196 GB, free: 6.02 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7487, allocations: 0 / 0.6196 GB, free: 6.02 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.0009358/0.7496, allocations: 235.9 kB / 0.6198 GB, free: 5.789 MB / 459.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 4 * 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.004225/0.7539, allocations: 3.643 MB / 0.6233 GB, free: 2.062 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.7573, allocations: 1.653 MB / 0.625 GB, free: 424 kB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7573, allocations: 0 / 0.625 GB, free: 424 kB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.76, allocations: 1.148 MB / 0.6261 GB, free: 15.27 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.7607, allocations: 91.12 kB / 0.6262 GB, free: 15.18 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.7659, allocations: 2.434 MB / 0.6285 GB, free: 12.68 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009201/0.7668, allocations: 1.091 MB / 0.6296 GB, free: 11.55 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0008072/0.7676, allocations: 265.4 kB / 0.6299 GB, free: 11.29 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.7682, allocations: 299.3 kB / 0.6301 GB, free: 11 MB / 475.1 MB Notification: Performance of SimCode: time 5.51e-07/0.7682, allocations: 0 / 0.6301 GB, free: 11 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3243/1.092, allocations: 15.04 MB / 0.6448 GB, free: 140.4 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.093, allocations: 142.9 kB / 0.645 GB, free: 140.2 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.623, allocations: 0 / 0.645 GB, free: 140.2 MB / 475.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) 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