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.0009753/0.0009751, allocations: 94.14 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.000921/0.000921, 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.262/1.262, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2533/0.2533, allocations: 38.07 MB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 400.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2653, allocations: 59.16 MB / 459.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006219/0.2715, allocations: 6.039 MB / 465.3 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.2744, allocations: 1.617 MB / 466.9 MB, free: 25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.2747, allocations: 44.06 kB / 466.9 MB, free: 24.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.2751, allocations: 130.2 kB / 467 MB, free: 24.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007306/0.2759, allocations: 330.5 kB / 467.4 MB, free: 24.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.2764, allocations: 193.6 kB / 467.6 MB, free: 24.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000733/0.2771, allocations: 0.5426 MB / 468.1 MB, free: 24.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.2775, allocations: 249.7 kB / 468.3 MB, free: 24.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.278, allocations: 322.5 kB / 468.7 MB, free: 24.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005753/0.2785, allocations: 359.5 kB / 469 MB, free: 23.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.2786, allocations: 30.72 kB / 469 MB, free: 23.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2787, allocations: 36.34 kB / 469.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.279, allocations: 246.2 kB / 469.3 MB, free: 23.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.2792, allocations: 149 kB / 469.5 MB, free: 23.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006956/0.2799, allocations: 0.6336 MB / 470.1 MB, free: 23.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.2799, allocations: 0 / 470.1 MB, free: 23.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2799, allocations: 0 / 470.1 MB, free: 23.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.2799, allocations: 0.9062 kB / 470.1 MB, free: 23.69 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.001735/0.2817, allocations: 0.9132 MB / 471 MB, free: 23.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2817, allocations: 9.219 kB / 471 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.2818, allocations: 101.2 kB / 471.1 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.282, allocations: 67.25 kB / 471.2 MB, free: 22.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009428/0.2829, allocations: 0.5379 MB / 471.7 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.2831, allocations: 117.4 kB / 471.8 MB, free: 22.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/0.2832, allocations: 55.81 kB / 471.9 MB, free: 22.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.2845, allocations: 0.7878 MB / 472.7 MB, free: 22.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2845, allocations: 3.938 kB / 472.7 MB, free: 22.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.2846, allocations: 22.03 kB / 472.7 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.2847, allocations: 34.23 kB / 472.7 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.2861, allocations: 0.7538 MB / 473.5 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003627/0.2897, allocations: 2.618 MB / 476.1 MB, free: 20.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.2912, allocations: 0.8525 MB / 477 MB, free: 19.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.2913, allocations: 5.531 kB / 477 MB, free: 19.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.2913, allocations: 37.56 kB / 477 MB, free: 19.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.943e-06/0.2913, allocations: 0 / 477 MB, free: 19.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003806/0.2951, allocations: 2.219 MB / 479.2 MB, free: 18.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.2952, allocations: 87.92 kB / 479.3 MB, free: 18.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.2956, allocations: 400.3 kB / 479.7 MB, free: 17.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.2956, allocations: 39.86 kB / 479.7 MB, free: 17.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2958, allocations: 283 kB / 480 MB, free: 17.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2959, allocations: 175.5 kB / 480.2 MB, free: 17.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.2959, allocations: 10.31 kB / 480.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.296, allocations: 359.4 kB / 480.5 MB, free: 17.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.2965, allocations: 290.3 kB / 480.8 MB, free: 16.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.2971, allocations: 397.1 kB / 481.2 MB, free: 16.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.2977, allocations: 315.8 kB / 481.5 MB, free: 16.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2977, allocations: 4.969 kB / 481.5 MB, free: 16.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001508/0.2992, allocations: 0.9066 MB / 482.4 MB, free: 16.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2993, allocations: 7.188 kB / 482.4 MB, free: 16.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.2993, allocations: 2.531 kB / 482.4 MB, free: 16.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002584/0.2995, allocations: 76.11 kB / 482.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.3011, allocations: 393.5 kB / 482.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00424/0.3054, allocations: 6.257 MB / 489.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.3058, allocations: 51.89 kB / 489.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.3058, allocations: 16 kB / 489.2 MB, free: 8.949 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.0003065/0.3061, allocations: 244.1 kB / 489.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.3062, allocations: 47.42 kB / 489.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.3075, allocations: 0.8593 MB / 490.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3075, allocations: 4 kB / 490.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3075, allocations: 8 kB / 490.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3075, allocations: 0 / 490.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.3098, allocations: 1.715 MB / 492.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.3098, allocations: 15.92 kB / 492.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.3114, allocations: 419.8 kB / 492.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/0.3116, allocations: 89.62 kB / 492.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.3116, allocations: 16 kB / 492.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.313, allocations: 2.899 MB / 495.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.313, allocations: 15.97 kB / 495.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3147, allocations: 1.437 MB / 497 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.3148, allocations: 124.5 kB / 497.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.3148, allocations: 12 kB / 497.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.3152, allocations: 51.95 kB / 497.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3153, allocations: 39.94 kB / 497.2 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3153, allocations: 19.98 kB / 497.2 MB, free: 424 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.3155, allocations: 271.1 kB / 497.5 MB, free: 156 kB / 350.1 MB Notification: Performance of sort global known variables: time 6.82e-07/0.3156, allocations: 0 / 497.5 MB, free: 156 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006114/0.3162, allocations: 151.9 kB / 497.6 MB, free: 4 kB / 350.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.002617/0.3188, allocations: 2.475 MB / 0.4884 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00272/0.3215, allocations: 1.202 MB / 0.4896 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3215, allocations: 0 / 0.4896 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.3236, allocations: 0.8998 MB / 0.4904 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.3242, allocations: 125.6 kB / 0.4906 GB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/0.3312, allocations: 6.05 MB / 0.4965 GB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.3317, allocations: 0.9562 MB / 0.4974 GB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003714/0.3321, allocations: 132.7 kB / 0.4975 GB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.3324, allocations: 199.4 kB / 0.4977 GB, free: 3.645 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3324, allocations: 0 / 0.4977 GB, free: 3.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07495/0.4074, allocations: 12.16 MB / 0.5096 GB, free: 7.727 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.4076, allocations: 213.3 kB / 0.5098 GB, free: 7.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.24, allocations: 3.938 kB / 0.5098 GB, free: 7.488 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