Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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_PowerSystems_Examples_AC3ph_Generation_Islanding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Islanding,fileNamePrefix="PowerSystems_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.0009666/0.0009666, allocations: 94.97 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.001106/0.001106, allocations: 183.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.322/0.322, allocations: 38.05 MB / 309.7 MB, free: 8.852 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005061, allocations: 22.19 kB / 376.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09821, allocations: 56.32 MB / 432.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009527/0.1078, allocations: 10.14 MB / 443.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009276/0.1171, allocations: 6.27 MB / 449.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.1186, allocations: 67.56 kB / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007313/0.1259, allocations: 2.674 MB / 452.1 MB, free: 3.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.1284, allocations: 0.6269 MB / 452.7 MB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1299, allocations: 0.5069 MB / 453.2 MB, free: 2.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.1318, allocations: 1.113 MB / 454.3 MB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.1336, allocations: 1.099 MB / 455.4 MB, free: 24 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2103/0.344, allocations: 0.6304 MB / 456 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.3448, allocations: 0.6233 MB / 456.7 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.3449, allocations: 58.16 kB / 456.7 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005834/0.3455, allocations: 314.3 kB / 457 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.3459, allocations: 472.2 kB / 457.5 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.3461, allocations: 298.5 kB / 457.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3474, allocations: 1.729 MB / 459.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3474, allocations: 3.188 kB / 459.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3475, allocations: 0 / 459.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.3475, allocations: 3.188 kB / 459.5 MB, free: 35.16 MB / 382.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.002941/0.3504, allocations: 1.653 MB / 461.2 MB, free: 34.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3505, allocations: 10.19 kB / 461.2 MB, free: 34.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.3507, allocations: 176.7 kB / 461.4 MB, free: 34.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007661/0.3514, allocations: 230.1 kB / 461.6 MB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.3534, allocations: 1.131 MB / 462.7 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.3535, allocations: 82.7 kB / 462.8 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.3538, allocations: 139 kB / 462.9 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.3557, allocations: 1.479 MB / 464.4 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.3558, allocations: 3.406 kB / 464.4 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.3559, allocations: 42.53 kB / 464.5 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.356, allocations: 81.17 kB / 464.5 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.3578, allocations: 1.208 MB / 465.7 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00644/0.3643, allocations: 5.732 MB / 471.5 MB, free: 31.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.3656, allocations: 0.9861 MB / 472.5 MB, free: 31.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.3656, allocations: 11.28 kB / 472.5 MB, free: 31.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3657, allocations: 48.86 kB / 472.5 MB, free: 30.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/0.3657, allocations: 1.219 kB / 472.5 MB, free: 30.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.006259/0.3719, allocations: 3.681 MB / 476.2 MB, free: 29.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.372, allocations: 165.5 kB / 476.4 MB, free: 29.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3733, allocations: 0.9348 MB / 477.3 MB, free: 29.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.3733, allocations: 44.83 kB / 477.3 MB, free: 29.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.3737, allocations: 0.6333 MB / 478 MB, free: 29.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.3739, allocations: 300.3 kB / 478.3 MB, free: 28.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.3739, allocations: 20.31 kB / 478.3 MB, free: 28.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.374, allocations: 346.2 kB / 478.6 MB, free: 28.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.3746, allocations: 391.6 kB / 479 MB, free: 28.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/0.3753, allocations: 0.6358 MB / 479.6 MB, free: 28.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.3759, allocations: 491.9 kB / 480.1 MB, free: 28.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3759, allocations: 0 / 480.1 MB, free: 28.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003672/0.3796, allocations: 2.052 MB / 482.2 MB, free: 27.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004578/0.3801, allocations: 2.793 MB / 485 MB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3801, allocations: 8.906 kB / 485 MB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.3825, allocations: 0.8152 MB / 485.8 MB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.3831, allocations: 151.2 kB / 485.9 MB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.3954, allocations: 9.913 MB / 495.9 MB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/0.3964, allocations: 66.61 kB / 495.9 MB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.3965, allocations: 35.59 kB / 496 MB, free: 20.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3965, allocations: 7.016 kB / 496 MB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00328/0.3998, allocations: 1.712 MB / 497.7 MB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3998, allocations: 11.62 kB / 497.7 MB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/0.4021, allocations: 0.7354 MB / 498.4 MB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.4027, allocations: 152.2 kB / 498.6 MB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.415, allocations: 9.313 MB / 0.496 GB, free: 28.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009678/0.416, allocations: 50.09 kB / 0.496 GB, free: 28.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.4161, allocations: 40.55 kB / 0.4961 GB, free: 28.85 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.0008787/0.417, allocations: 476.3 kB / 0.4965 GB, free: 28.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.4172, allocations: 112.9 kB / 0.4966 GB, free: 28.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.4192, allocations: 1.327 MB / 0.4979 GB, free: 27.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.4193, allocations: 9.719 kB / 0.4979 GB, free: 27.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4193, allocations: 1.094 kB / 0.4979 GB, free: 27.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.4193, allocations: 5.547 kB / 0.4979 GB, free: 27.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.4236, allocations: 2.61 MB / 0.5005 GB, free: 26.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4236, allocations: 1.094 kB / 0.5005 GB, free: 26.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000923/0.4245, allocations: 183.8 kB / 0.5007 GB, free: 26.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.4248, allocations: 83.19 kB / 0.5007 GB, free: 26.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.603e-05/0.4249, allocations: 33.2 kB / 0.5008 GB, free: 26.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.4275, allocations: 4.118 MB / 0.5048 GB, free: 22.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4275, allocations: 1.094 kB / 0.5048 GB, free: 22.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.4302, allocations: 1.925 MB / 0.5067 GB, free: 21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.4307, allocations: 271.2 kB / 0.5069 GB, free: 20.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.4309, allocations: 22.59 kB / 0.507 GB, free: 20.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.4315, allocations: 53.38 kB / 0.507 GB, free: 20.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.4317, allocations: 56.64 kB / 0.5071 GB, free: 20.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.4317, allocations: 26.52 kB / 0.5071 GB, free: 20.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.4329, allocations: 0.6393 MB / 0.5077 GB, free: 20.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4329, allocations: 0 / 0.5077 GB, free: 20.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002423/0.4353, allocations: 0.5474 MB / 0.5082 GB, free: 20.43 MB / 398.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.003215/0.4386, allocations: 2.667 MB / 0.5108 GB, free: 18.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005412/0.444, allocations: 2.956 MB / 0.5137 GB, free: 17.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.444, allocations: 1.594 kB / 0.5137 GB, free: 17.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.4454, allocations: 0.8198 MB / 0.5145 GB, free: 16.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.447, allocations: 255.3 kB / 0.5148 GB, free: 16.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/0.4653, allocations: 14.22 MB / 0.5287 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009912/0.4663, allocations: 1.366 MB / 0.53 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009898/0.4673, allocations: 267.5 kB / 0.5303 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006182/0.468, allocations: 0.512 MB / 0.5308 GB, free: 4.457 MB / 398.1 MB Notification: Performance of SimCode: time 1.293e-06/0.468, allocations: 3.938 kB / 0.5308 GB, free: 4.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06082/0.5288, allocations: 34.1 MB / 0.5641 GB, free: 2.395 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.529, allocations: 214.8 kB / 0.5643 GB, free: 2.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.009, allocations: 0 / 0.5643 GB, free: 2.148 MB / 430.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_Islanding_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_Islanding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1) Environment - environmentSimulation: