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.0009022/0.0009018, allocations: 88.16 kB / 16.31 MB, free: 5.555 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.0009645/0.0009647, allocations: 180.9 kB / 17.21 MB, free: 5.473 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.386/1.386, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1805/0.1805, allocations: 38.08 MB / 330.4 MB, free: 8.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8.75 kB / 400.2 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 59.17 MB / 459.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01181/0.1413, allocations: 10.91 MB / 470.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009099/0.1505, allocations: 4.206 MB / 474.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.1525, allocations: 71.5 kB / 474.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.1537, allocations: 341.7 kB / 474.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.1572, allocations: 0.972 MB / 475.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.1596, allocations: 0.5881 MB / 476.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00364/0.1632, allocations: 2.411 MB / 478.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.1661, allocations: 1.512 MB / 480.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.1675, allocations: 0.665 MB / 481 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.1691, allocations: 0.9346 MB / 481.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1692, allocations: 60 kB / 482 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009682/0.1702, allocations: 435.2 kB / 482.4 MB, free: 92 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006415/0.1709, allocations: 0.6234 MB / 483 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.1712, allocations: 305 kB / 483.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.1731, allocations: 1.761 MB / 485.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1731, allocations: 0 / 485.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1731, allocations: 0 / 485.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.1731, allocations: 0 / 485.1 MB, free: 13.39 MB / 366.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.00296/0.1761, allocations: 1.552 MB / 486.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1761, allocations: 8.031 kB / 486.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.1764, allocations: 198.3 kB / 486.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.1779, allocations: 289.8 kB / 487.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.1798, allocations: 1.004 MB / 488.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.1799, allocations: 94.33 kB / 488.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.1802, allocations: 151.9 kB / 488.4 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.1829, allocations: 1.693 MB / 490.1 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.1829, allocations: 7.938 kB / 490.1 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.183, allocations: 51.94 kB / 490.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002689/0.1833, allocations: 106.4 kB / 490.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.1857, allocations: 1.426 MB / 491.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008761/0.1945, allocations: 6.099 MB / 497.8 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.1957, allocations: 0.7214 MB / 498.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/0.1964, allocations: 464.4 kB / 498.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.1965, allocations: 16.55 kB / 499 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.1966, allocations: 47.16 kB / 499 MB, free: 14.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.805e-06/0.1966, allocations: 0 / 499 MB, free: 14.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.009478/0.2061, allocations: 4.421 MB / 0.4916 GB, free: 10.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.9e-05/0.2062, allocations: 166.8 kB / 0.4918 GB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.2073, allocations: 0.8372 MB / 0.4926 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.2074, allocations: 45.73 kB / 0.4926 GB, free: 9.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.2079, allocations: 0.6311 MB / 0.4933 GB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.2082, allocations: 303.7 kB / 0.4935 GB, free: 8.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.2083, allocations: 20 kB / 0.4936 GB, free: 8.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.2085, allocations: 353.9 kB / 0.4939 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008559/0.2094, allocations: 490.3 kB / 0.4944 GB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.2106, allocations: 0.7697 MB / 0.4951 GB, free: 6.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.2117, allocations: 0.6042 MB / 0.4957 GB, free: 5.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2117, allocations: 0 / 0.4957 GB, free: 5.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003907/0.2156, allocations: 1.913 MB / 0.4976 GB, free: 4.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.2159, allocations: 336 kB / 0.4979 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002999/0.2189, allocations: 1.507 MB / 0.4994 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.2208, allocations: 0.5661 MB / 0.4999 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.2223, allocations: 483.4 kB / 0.5004 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3025/0.5248, allocations: 13.23 MB / 0.5133 GB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.526, allocations: 77.55 kB / 0.5134 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.5262, allocations: 45.59 kB / 0.5134 GB, free: 44.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5262, allocations: 3.375 kB / 0.5134 GB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003573/0.5298, allocations: 1.728 MB / 0.5151 GB, free: 43.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003046/0.5328, allocations: 1.447 MB / 0.5165 GB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.5349, allocations: 0.568 MB / 0.5171 GB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.5358, allocations: 225 kB / 0.5173 GB, free: 43.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.5472, allocations: 10.17 MB / 0.5272 GB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.5484, allocations: 52.89 kB / 0.5273 GB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/0.5485, allocations: 47.5 kB / 0.5273 GB, free: 35.04 MB / 382.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%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001064/0.5496, allocations: 0.5011 MB / 0.5278 GB, free: 34.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.5499, allocations: 101.1 kB / 0.5279 GB, free: 34.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.5524, allocations: 1.421 MB / 0.5293 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5524, allocations: 12.59 kB / 0.5293 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.5524, allocations: 4.531 kB / 0.5293 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.5525, allocations: 4.75 kB / 0.5293 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.5571, allocations: 2.873 MB / 0.5321 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.5572, allocations: 2.156 kB / 0.5321 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.5577, allocations: 136.6 kB / 0.5323 GB, free: 32.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.5588, allocations: 391.3 kB / 0.5326 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.5589, allocations: 31.92 kB / 0.5327 GB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/0.5651, allocations: 8.664 MB / 0.5411 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5651, allocations: 7.812 kB / 0.5411 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.568, allocations: 1.948 MB / 0.543 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.5686, allocations: 267 kB / 0.5433 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.5687, allocations: 22.97 kB / 0.5433 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.5692, allocations: 51.58 kB / 0.5434 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.5694, allocations: 80.09 kB / 0.5434 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.5695, allocations: 26.7 kB / 0.5435 GB, free: 23.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007404/0.5702, allocations: 0.566 MB / 0.544 GB, free: 22.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5702, allocations: 1.875 kB / 0.544 GB, free: 22.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00241/0.5727, allocations: 0.6454 MB / 0.5446 GB, free: 22.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (66): * Single equations (assignments): 60 * 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.002964/0.5756, allocations: 2.54 MB / 0.5471 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005121/0.5808, allocations: 3.544 MB / 0.5506 GB, free: 16.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.5808, allocations: 4.125 kB / 0.5506 GB, free: 16.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.5824, allocations: 1.18 MB / 0.5517 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.5837, allocations: 235.5 kB / 0.552 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.5954, allocations: 8.73 MB / 0.5605 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/0.5962, allocations: 1.334 MB / 0.5618 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009762/0.5972, allocations: 352.6 kB / 0.5621 GB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.5977, allocations: 499.3 kB / 0.5626 GB, free: 3.781 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5978, allocations: 4 kB / 0.5626 GB, free: 3.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/0.652, allocations: 31.05 MB / 0.5929 GB, free: 5.039 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.6522, allocations: 244.7 kB / 0.5932 GB, free: 4.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.321, allocations: 3.938 kB / 0.5932 GB, free: 4.789 MB / 414.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