Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.TurboGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine",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.0009214/0.0009217, allocations: 94.75 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.0009727/0.0009728, allocations: 184 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.248/1.248, 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.2864/0.2864, allocations: 38.07 MB / 330.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002809, allocations: 12 kB / 400.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.25, allocations: 59.16 MB / 459.2 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.008499/0.2585, allocations: 10.39 MB / 469.6 MB, free: 23.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006115/0.2647, allocations: 4.19 MB / 473.8 MB, free: 20.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.2658, allocations: 67.75 kB / 473.9 MB, free: 20.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.2666, allocations: 338.8 kB / 474.2 MB, free: 19.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.2687, allocations: 0.7737 MB / 475 MB, free: 19.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.2703, allocations: 0.5767 MB / 475.6 MB, free: 19.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2718, allocations: 1.066 MB / 476.6 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.2738, allocations: 1.508 MB / 478.1 MB, free: 17.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008239/0.2746, allocations: 0.5828 MB / 478.7 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007866/0.2754, allocations: 0.6175 MB / 479.3 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.2756, allocations: 60.94 kB / 479.4 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008077/0.2764, allocations: 408.6 kB / 479.8 MB, free: 17.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.2768, allocations: 0.5695 MB / 480.4 MB, free: 16.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2771, allocations: 300.7 kB / 480.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.2784, allocations: 1.757 MB / 482.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2785, allocations: 1.094 kB / 482.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2785, allocations: 0 / 482.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.2785, allocations: 0 / 482.4 MB, free: 15.55 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.002435/0.2809, allocations: 1.54 MB / 483.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.281, allocations: 8.719 kB / 484 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.2812, allocations: 196.6 kB / 484.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.2827, allocations: 310.5 kB / 484.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.2846, allocations: 1.013 MB / 485.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.2846, allocations: 91.28 kB / 485.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.2849, allocations: 147.8 kB / 485.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.2869, allocations: 1.68 MB / 487.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.287, allocations: 15.83 kB / 487.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.2871, allocations: 51.98 kB / 487.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/0.2873, allocations: 102.4 kB / 487.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.2891, allocations: 1.422 MB / 489 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006108/0.2952, allocations: 6.103 MB / 495.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/0.2961, allocations: 0.7135 MB / 495.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.2961, allocations: 12.7 kB / 495.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2962, allocations: 51.14 kB / 495.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/0.2962, allocations: 4 kB / 495.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=82): time 0.007635/0.3038, allocations: 4.385 MB / 0.4885 GB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.3039, allocations: 166.8 kB / 0.4887 GB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3049, allocations: 0.8333 MB / 0.4895 GB, free: 13.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.927e-05/0.305, allocations: 41.7 kB / 0.4895 GB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.3055, allocations: 0.6273 MB / 0.4901 GB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.3058, allocations: 291.8 kB / 0.4904 GB, free: 12.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.3058, allocations: 31.94 kB / 0.4904 GB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.306, allocations: 357.9 kB / 0.4908 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/0.3068, allocations: 482.3 kB / 0.4912 GB, free: 11.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.3078, allocations: 0.758 MB / 0.492 GB, free: 10.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009594/0.3088, allocations: 0.6042 MB / 0.4926 GB, free: 9.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3088, allocations: 4 kB / 0.4926 GB, free: 9.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00355/0.3123, allocations: 1.882 MB / 0.4944 GB, free: 7.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001585/0.3139, allocations: 3.231 MB / 0.4976 GB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002947/0.3169, allocations: 1.495 MB / 0.499 GB, free: 3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.3188, allocations: 0.5621 MB / 0.4996 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.3203, allocations: 483.5 kB / 0.5 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.3338, allocations: 13.44 MB / 0.5132 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/0.3348, allocations: 67.95 kB / 0.5132 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/0.3349, allocations: 43.94 kB / 0.5133 GB, free: 3.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.3349, allocations: 4 kB / 0.5133 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003119/0.338, allocations: 1.718 MB / 0.515 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002574/0.3406, allocations: 1.437 MB / 0.5164 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.3424, allocations: 0.5544 MB / 0.5169 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.3431, allocations: 227.6 kB / 0.5171 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.3532, allocations: 10.36 MB / 0.5272 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008131/0.354, allocations: 47.97 kB / 0.5273 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.3541, allocations: 47.98 kB / 0.5273 GB, free: 4.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007472/0.3548, allocations: 0.5006 MB / 0.5278 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.355, allocations: 98.78 kB / 0.5279 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.3573, allocations: 1.417 MB / 0.5293 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.3573, allocations: 12 kB / 0.5293 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3574, allocations: 4 kB / 0.5293 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3574, allocations: 3.984 kB / 0.5293 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/0.3618, allocations: 2.842 MB / 0.5321 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3619, allocations: 4 kB / 0.5321 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.3624, allocations: 136.2 kB / 0.5322 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009854/0.3634, allocations: 391.7 kB / 0.5326 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.3635, allocations: 35.97 kB / 0.5326 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/0.3704, allocations: 8.764 MB / 0.5412 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3704, allocations: 4 kB / 0.5412 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.3732, allocations: 2.062 MB / 0.5432 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.3737, allocations: 263.7 kB / 0.5435 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.3739, allocations: 27.98 kB / 0.5435 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/0.3744, allocations: 43.97 kB / 0.5435 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3745, allocations: 68.45 kB / 0.5436 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.3745, allocations: 35.98 kB / 0.5436 GB, free: 2.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006536/0.3752, allocations: 0.562 MB / 0.5442 GB, free: 2.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3752, allocations: 4 kB / 0.5442 GB, free: 2.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001951/0.3772, allocations: 0.6406 MB / 0.5448 GB, free: 1.469 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (65): * Single equations (assignments): 59 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003615/0.3808, allocations: 3.415 MB / 0.5481 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005158/0.386, allocations: 3.521 MB / 0.5516 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.386, allocations: 4 kB / 0.5516 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.3875, allocations: 1.171 MB / 0.5527 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/0.3884, allocations: 210.8 kB / 0.5529 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/0.3956, allocations: 9.922 MB / 0.5626 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009717/0.3965, allocations: 1.362 MB / 0.5639 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009023/0.3974, allocations: 352.2 kB / 0.5643 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/0.398, allocations: 495.3 kB / 0.5648 GB, free: 12.45 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.398, allocations: 4 kB / 0.5648 GB, free: 12.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2651/0.6631, allocations: 30.3 MB / 0.5943 GB, free: 105.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.6633, allocations: 230 kB / 0.5946 GB, free: 105.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.05, allocations: 0 / 0.5946 GB, free: 105.5 MB / 446.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine_res.mat does not exist to compare? outputFormat=mat