Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.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.Generation.Islanding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Islanding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Islanding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Islanding",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.0008472/0.0008472, allocations: 94.47 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.0008425/0.0008426, allocations: 181.6 kB / 17.2 MB, free: 5.906 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.277/1.277, 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.2941/0.2941, allocations: 38.08 MB / 330.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002804, allocations: 8 kB / 400 MB, free: 9.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 59.16 MB / 459.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009219/0.2778, allocations: 10.12 MB / 469.3 MB, free: 23.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009705/0.2876, allocations: 6.224 MB / 475.6 MB, free: 18.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.2902, allocations: 65.72 kB / 475.6 MB, free: 18.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007517/0.2978, allocations: 2.678 MB / 478.3 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.3005, allocations: 0.6312 MB / 478.9 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3021, allocations: 0.4962 MB / 479.4 MB, free: 17.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.3036, allocations: 1.113 MB / 480.5 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.3051, allocations: 1.104 MB / 481.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009016/0.306, allocations: 0.6303 MB / 482.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007553/0.3067, allocations: 0.6222 MB / 482.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3069, allocations: 58.28 kB / 483 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.3075, allocations: 310.7 kB / 483.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.3079, allocations: 471.5 kB / 483.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.3082, allocations: 297.6 kB / 484 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.3094, allocations: 1.72 MB / 485.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.3095, allocations: 4.969 kB / 485.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3095, allocations: 0 / 485.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.3095, allocations: 0 / 485.7 MB, free: 13.07 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003088/0.3126, allocations: 1.657 MB / 487.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3126, allocations: 8.031 kB / 487.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.3128, allocations: 181.3 kB / 487.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.3136, allocations: 229.9 kB / 487.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.3156, allocations: 1.113 MB / 488.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.3156, allocations: 90.19 kB / 489 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.3159, allocations: 139.9 kB / 489.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.3177, allocations: 1.469 MB / 490.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.3177, allocations: 7.938 kB / 490.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.676e-05/0.3178, allocations: 44 kB / 490.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.3179, allocations: 89.97 kB / 490.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.3196, allocations: 1.206 MB / 492 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006428/0.326, allocations: 5.721 MB / 497.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.3273, allocations: 0.9893 MB / 498.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.064e-05/0.3273, allocations: 16.78 kB / 498.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3274, allocations: 39.22 kB / 498.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/0.3274, allocations: 0 / 498.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.00711/0.3345, allocations: 3.686 MB / 0.4906 GB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.3346, allocations: 167.2 kB / 0.4908 GB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3359, allocations: 0.9167 MB / 0.4917 GB, free: 10.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.336, allocations: 45.7 kB / 0.4917 GB, free: 10.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.3365, allocations: 0.6317 MB / 0.4923 GB, free: 10.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.3367, allocations: 307.6 kB / 0.4926 GB, free: 9.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.3367, allocations: 17.09 kB / 0.4927 GB, free: 9.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3369, allocations: 357.9 kB / 0.493 GB, free: 9.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/0.3375, allocations: 385.8 kB / 0.4934 GB, free: 9.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007727/0.3383, allocations: 0.6288 MB / 0.494 GB, free: 8.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007613/0.3391, allocations: 494.8 kB / 0.4944 GB, free: 7.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3391, allocations: 4 kB / 0.4945 GB, free: 7.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004028/0.3431, allocations: 2.051 MB / 0.4965 GB, free: 5.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009095/0.344, allocations: 2.79 MB / 0.4992 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3441, allocations: 8 kB / 0.4992 GB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.3466, allocations: 0.8206 MB / 0.5 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.3472, allocations: 151.7 kB / 0.5001 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/0.3638, allocations: 9.924 MB / 0.5098 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/0.3649, allocations: 63.95 kB / 0.5099 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.3649, allocations: 36 kB / 0.5099 GB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.365, allocations: 8.188 kB / 0.5099 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003442/0.3684, allocations: 1.715 MB / 0.5116 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3684, allocations: 4 kB / 0.5116 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/0.3708, allocations: 0.7388 MB / 0.5123 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.3714, allocations: 163.7 kB / 0.5125 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.384, allocations: 9.293 MB / 0.5216 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008698/0.3849, allocations: 47.97 kB / 0.5216 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.385, allocations: 44 kB / 0.5216 GB, free: 11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,limPID_DC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 1 {10 38} Notification: Performance of prepare postOptimizeDAE: time 0.0007271/0.3857, allocations: 473 kB / 0.5221 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.3859, allocations: 114.8 kB / 0.5222 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.388, allocations: 1.327 MB / 0.5235 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.388, allocations: 15.94 kB / 0.5235 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.388, allocations: 0 / 0.5235 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.388, allocations: 7.984 kB / 0.5235 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.3918, allocations: 2.599 MB / 0.5261 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3918, allocations: 4 kB / 0.5261 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.3927, allocations: 179.8 kB / 0.5262 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.3929, allocations: 86.34 kB / 0.5263 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.393, allocations: 27.98 kB / 0.5263 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003036/0.3961, allocations: 4.121 MB / 0.5304 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3961, allocations: 4.031 kB / 0.5304 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.3986, allocations: 1.926 MB / 0.5323 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/0.3992, allocations: 263.6 kB / 0.5325 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.3993, allocations: 27.98 kB / 0.5325 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.4, allocations: 55.95 kB / 0.5326 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.4001, allocations: 56.88 kB / 0.5326 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.4001, allocations: 23.98 kB / 0.5327 GB, free: 14.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009469/0.4011, allocations: 0.6345 MB / 0.5333 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4011, allocations: 0 / 0.5333 GB, free: 14.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001899/0.403, allocations: 0.5508 MB / 0.5338 GB, free: 13.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.generator.i_rd[1],turboGen.generator.i_rq[1],turboGen.governor.speedReg.x_scaled[1],turboGen.rotor.phi,turboGen.rotor.w,capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,limPID_DC.I.y,limPID_DC.D.x) * 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 (85): * Single equations (assignments): 81 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(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.003118/0.4061, allocations: 2.649 MB / 0.5364 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005115/0.4113, allocations: 2.968 MB / 0.5393 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4113, allocations: 0 / 0.5393 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.4125, allocations: 0.8142 MB / 0.5401 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.4137, allocations: 258.2 kB / 0.5403 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/0.4311, allocations: 14.18 MB / 0.5542 GB, free: 8.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009966/0.4321, allocations: 1.35 MB / 0.5555 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009277/0.433, allocations: 268.8 kB / 0.5558 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.4337, allocations: 0.511 MB / 0.5563 GB, free: 6.098 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4337, allocations: 0 / 0.5563 GB, free: 6.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3885/0.8222, allocations: 34.01 MB / 0.5895 GB, free: 109.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.8223, allocations: 224 kB / 0.5897 GB, free: 108.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.135, allocations: 0 / 0.5897 GB, free: 108.8 MB / 446.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Islanding_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Islanding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding_res.mat does not exist to compare? outputFormat=mat