Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_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.0008622, allocations: 95.03 kB / 16.3 MB, free: 5.996 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.0008603/0.0008604, allocations: 183.9 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.283/1.283, allocations: 223.2 MB / 241.1 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2894/0.2894, allocations: 38.07 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 400.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2574, allocations: 59.14 MB / 459.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.006232/0.2637, allocations: 6.282 MB / 465.5 MB, free: 25.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.2673, allocations: 1.716 MB / 467.2 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.2678, allocations: 42.22 kB / 467.3 MB, free: 24.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.2682, allocations: 147.8 kB / 467.4 MB, free: 24.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008754/0.2691, allocations: 360.6 kB / 467.7 MB, free: 24.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.2698, allocations: 214.8 kB / 468 MB, free: 24.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007157/0.2705, allocations: 0.564 MB / 468.5 MB, free: 24.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.2709, allocations: 259.3 kB / 468.8 MB, free: 23.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.2713, allocations: 334.8 kB / 469.1 MB, free: 23.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.2719, allocations: 361.6 kB / 469.5 MB, free: 23.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.2719, allocations: 32.72 kB / 469.5 MB, free: 23.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.272, allocations: 32.75 kB / 469.5 MB, free: 23.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.2723, allocations: 255.8 kB / 469.8 MB, free: 23.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.2725, allocations: 148.7 kB / 469.9 MB, free: 23.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007371/0.2732, allocations: 0.6623 MB / 470.6 MB, free: 23.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2732, allocations: 1.281 kB / 470.6 MB, free: 23.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2732, allocations: 0 / 470.6 MB, free: 23.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.587e-06/0.2732, allocations: 0 / 470.6 MB, free: 23.38 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001608/0.2749, allocations: 0.9324 MB / 471.5 MB, free: 22.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2749, allocations: 8.875 kB / 471.5 MB, free: 22.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.275, allocations: 97.86 kB / 471.6 MB, free: 22.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.2752, allocations: 79.09 kB / 471.7 MB, free: 22.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008856/0.276, allocations: 0.5376 MB / 472.2 MB, free: 22.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.2762, allocations: 119 kB / 472.3 MB, free: 22.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.2763, allocations: 57.22 kB / 472.4 MB, free: 22.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.2776, allocations: 0.7918 MB / 473.2 MB, free: 21.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.2776, allocations: 3.938 kB / 473.2 MB, free: 21.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.2776, allocations: 22.05 kB / 473.2 MB, free: 21.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.2777, allocations: 35.97 kB / 473.3 MB, free: 21.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2791, allocations: 0.7247 MB / 474 MB, free: 21.59 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.2828, allocations: 2.76 MB / 476.7 MB, free: 19.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.2844, allocations: 0.916 MB / 477.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.2844, allocations: 8.094 kB / 477.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2844, allocations: 32.44 kB / 477.7 MB, free: 19.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.084e-06/0.2844, allocations: 0 / 477.7 MB, free: 19.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003415/0.2879, allocations: 2.014 MB / 479.7 MB, free: 17.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2879, allocations: 89.47 kB / 479.8 MB, free: 17.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.2884, allocations: 421.1 kB / 480.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.2884, allocations: 32.02 kB / 480.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.2885, allocations: 322.4 kB / 480.6 MB, free: 17.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.2886, allocations: 144 kB / 480.7 MB, free: 16.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.2887, allocations: 5.438 kB / 480.7 MB, free: 16.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.2888, allocations: 362.4 kB / 481.1 MB, free: 16.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.2892, allocations: 252.1 kB / 481.3 MB, free: 16.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.2897, allocations: 363.2 kB / 481.7 MB, free: 16.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.2903, allocations: 276.9 kB / 481.9 MB, free: 16.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2903, allocations: 0.8438 kB / 481.9 MB, free: 16.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001398/0.2917, allocations: 0.8298 MB / 482.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2917, allocations: 5.469 kB / 482.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2917, allocations: 4.125 kB / 482.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.292, allocations: 76.31 kB / 482.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.2935, allocations: 377.4 kB / 483.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004275/0.2978, allocations: 6.224 MB / 489.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.2983, allocations: 47.91 kB / 489.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.2983, allocations: 16 kB / 489.5 MB, free: 8.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0003172/0.2987, allocations: 233.9 kB / 489.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.2987, allocations: 51.42 kB / 489.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.2999, allocations: 0.7612 MB / 490.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2999, allocations: 4 kB / 490.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2999, allocations: 0 / 490.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2999, allocations: 3.984 kB / 490.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.302, allocations: 1.549 MB / 492.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.302, allocations: 8 kB / 492.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.3035, allocations: 403.6 kB / 492.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/0.3038, allocations: 81.64 kB / 492.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3038, allocations: 11.98 kB / 492.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.3051, allocations: 2.907 MB / 495.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3051, allocations: 0 / 495.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.3066, allocations: 1.205 MB / 496.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.3067, allocations: 120.5 kB / 496.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.3068, allocations: 19.92 kB / 496.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.3071, allocations: 39.97 kB / 496.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.3072, allocations: 39.94 kB / 496.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.3072, allocations: 12 kB / 496.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.3075, allocations: 295.1 kB / 497.2 MB, free: 460 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3075, allocations: 0 / 497.2 MB, free: 460 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006303/0.3081, allocations: 136 kB / 497.3 MB, free: 324 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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.002085/0.3102, allocations: 1.951 MB / 499.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.3128, allocations: 1.103 MB / 0.4887 GB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3128, allocations: 0 / 0.4887 GB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.3147, allocations: 0.818 MB / 0.4895 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.3153, allocations: 126.1 kB / 0.4896 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/0.3218, allocations: 6.116 MB / 0.4956 GB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3224, allocations: 0.9562 MB / 0.4965 GB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000298/0.3227, allocations: 104.5 kB / 0.4966 GB, free: 4.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.3229, allocations: 195.4 kB / 0.4968 GB, free: 4.656 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3229, allocations: 0 / 0.4968 GB, free: 4.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.3471, allocations: 12.03 MB / 0.5085 GB, free: 8.863 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.3474, allocations: 228.8 kB / 0.5088 GB, free: 8.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.172, allocations: 0 / 0.5088 GB, free: 8.617 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat does not exist to compare? outputFormat=mat