Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_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.001074/0.001074, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001366/0.001366, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.43/1.43, allocations: 223.2 MB / 241.2 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3216/0.3216, allocations: 38.07 MB / 330.4 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003436, allocations: 15.98 kB / 400.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 59.16 MB / 459.3 MB, free: 30.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006878/0.2956, allocations: 6.312 MB / 465.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.2987, allocations: 1.589 MB / 467.2 MB, free: 24.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005415/0.2993, allocations: 40.56 kB / 467.3 MB, free: 24.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.2999, allocations: 138.2 kB / 467.4 MB, free: 24.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.301, allocations: 433.6 kB / 467.8 MB, free: 24.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.3017, allocations: 188.3 kB / 468 MB, free: 24.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.3034, allocations: 1.275 MB / 469.3 MB, free: 23.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.3039, allocations: 245.7 kB / 469.5 MB, free: 23.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.3046, allocations: 388.8 kB / 469.9 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009452/0.3055, allocations: 0.5051 MB / 470.4 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-05/0.3056, allocations: 32.44 kB / 470.4 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3058, allocations: 31.22 kB / 470.5 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.3061, allocations: 271 kB / 470.7 MB, free: 23.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.3063, allocations: 151.4 kB / 470.9 MB, free: 23.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008416/0.3072, allocations: 0.637 MB / 471.5 MB, free: 23.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3072, allocations: 1.031 kB / 471.5 MB, free: 23.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.3072, allocations: 0.5156 kB / 471.5 MB, free: 23.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.3072, allocations: 0 / 471.5 MB, free: 23.03 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001865/0.3091, allocations: 0.9143 MB / 472.4 MB, free: 22.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3091, allocations: 9.031 kB / 472.4 MB, free: 22.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.3093, allocations: 100.4 kB / 472.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.3094, allocations: 76.48 kB / 472.6 MB, free: 22.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/0.3104, allocations: 0.5372 MB / 473.2 MB, free: 21.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.3105, allocations: 117.9 kB / 473.3 MB, free: 21.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/0.3106, allocations: 54.95 kB / 473.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.3121, allocations: 0.7879 MB / 474.1 MB, free: 21.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3121, allocations: 0 / 474.1 MB, free: 21.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.3122, allocations: 26.3 kB / 474.1 MB, free: 21.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.3123, allocations: 38.14 kB / 474.2 MB, free: 21.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.3137, allocations: 0.7509 MB / 474.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.3172, allocations: 2.632 MB / 477.6 MB, free: 19.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.3186, allocations: 0.8477 MB / 478.4 MB, free: 18.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/0.3193, allocations: 418.1 kB / 478.8 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.3194, allocations: 5.75 kB / 478.8 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3194, allocations: 37.78 kB / 478.9 MB, free: 18.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.3194, allocations: 0 / 478.9 MB, free: 18.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003801/0.3232, allocations: 2.216 MB / 481.1 MB, free: 17.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.3233, allocations: 83.11 kB / 481.2 MB, free: 16.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.3237, allocations: 397.1 kB / 481.5 MB, free: 16.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.3237, allocations: 39.86 kB / 481.6 MB, free: 16.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3239, allocations: 286.8 kB / 481.9 MB, free: 16.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.324, allocations: 179 kB / 482 MB, free: 16.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.324, allocations: 10.53 kB / 482 MB, free: 16.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.3241, allocations: 360.4 kB / 482.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.3246, allocations: 284.8 kB / 482.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.3251, allocations: 400.3 kB / 483.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.3257, allocations: 324.7 kB / 483.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3257, allocations: 1.438 kB / 483.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001237/0.3269, allocations: 0.9049 MB / 484.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.327, allocations: 6.188 kB / 484.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.327, allocations: 4 kB / 484.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.3272, allocations: 81.59 kB / 484.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.3286, allocations: 391.6 kB / 484.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.3325, allocations: 6.174 MB / 490.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.333, allocations: 52.11 kB / 491 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.3331, allocations: 16 kB / 491 MB, free: 7.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003416/0.3334, allocations: 245.6 kB / 491.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.3335, allocations: 47.39 kB / 491.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.3348, allocations: 0.8555 MB / 492.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3348, allocations: 4 kB / 492.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3348, allocations: 4 kB / 492.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3348, allocations: 7.984 kB / 492.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.3371, allocations: 1.727 MB / 493.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3371, allocations: 8 kB / 493.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.3385, allocations: 423.7 kB / 494.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.3388, allocations: 93.62 kB / 494.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.3388, allocations: 12 kB / 494.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.3402, allocations: 2.887 MB / 497.3 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3403, allocations: 7.984 kB / 497.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.3422, allocations: 1.355 MB / 498.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.3424, allocations: 124.5 kB / 498.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.3425, allocations: 15.95 kB / 498.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.3428, allocations: 47.95 kB / 498.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.343, allocations: 51.86 kB / 498.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.343, allocations: 16 kB / 498.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.3434, allocations: 275.1 kB / 499.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3434, allocations: 0 / 499.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007938/0.3442, allocations: 148 kB / 499.3 MB, free: 14.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002453/0.3466, allocations: 1.912 MB / 0.4895 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.3493, allocations: 1.19 MB / 0.4907 GB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3494, allocations: 0 / 0.4907 GB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.3513, allocations: 0.9114 MB / 0.4915 GB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.3523, allocations: 131.5 kB / 0.4917 GB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007413/0.3597, allocations: 4.256 MB / 0.4958 GB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.3603, allocations: 0.9561 MB / 0.4968 GB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.3609, allocations: 128.7 kB / 0.4969 GB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.3612, allocations: 195.4 kB / 0.4971 GB, free: 4.395 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3612, allocations: 0 / 0.4971 GB, free: 4.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.388, allocations: 12.2 MB / 0.509 GB, free: 8.441 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.3882, allocations: 223.9 kB / 0.5092 GB, free: 8.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/2.513, allocations: 3.938 kB / 0.5092 GB, free: 8.203 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat does not exist to compare? outputFormat=mat