Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",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.0009892/0.0009892, allocations: 92.42 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.001126/0.001126, allocations: 190 kB / 17.2 MB, free: 5.91 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.88/1.88, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.392/0.392, allocations: 38.05 MB / 309.7 MB, free: 8.891 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.0005266/0.0005268, allocations: 16 kB / 376.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 56.33 MB / 432.9 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004677/0.1324, allocations: 4.293 MB / 437.2 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1349, allocations: 1.587 MB / 438.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.1352, allocations: 19.88 kB / 438.8 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.1354, allocations: 71.52 kB / 438.9 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006066/0.136, allocations: 219.3 kB / 439.1 MB, free: 440 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.1366, allocations: 223.5 kB / 439.3 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.137, allocations: 299.8 kB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007726/0.1378, allocations: 0.5114 MB / 440.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.138, allocations: 179.3 kB / 440.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.1384, allocations: 247.3 kB / 440.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.1384, allocations: 20 kB / 440.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.1387, allocations: 171.6 kB / 440.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.1389, allocations: 195.5 kB / 440.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.139, allocations: 105.5 kB / 441 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.1395, allocations: 498.7 kB / 441.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1395, allocations: 0 / 441.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1395, allocations: 4 kB / 441.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1395, allocations: 0 / 441.5 MB, free: 13.97 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001199/0.1407, allocations: 0.6919 MB / 442.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1408, allocations: 8.031 kB / 442.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.1409, allocations: 94.52 kB / 442.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.1415, allocations: 91.28 kB / 442.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.1422, allocations: 398.1 kB / 442.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.1422, allocations: 28.98 kB / 442.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.1423, allocations: 59.88 kB / 442.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.1432, allocations: 0.6686 MB / 443.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1432, allocations: 0 / 443.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/0.1433, allocations: 16 kB / 443.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.1435, allocations: 60.89 kB / 443.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.1444, allocations: 0.6596 MB / 444.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.1476, allocations: 2.433 MB / 446.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.1481, allocations: 353.7 kB / 447 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.1482, allocations: 12.31 kB / 447.1 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1482, allocations: 42.83 kB / 447.1 MB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.1482, allocations: 0 / 447.1 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.00212/0.1504, allocations: 1.618 MB / 448.7 MB, free: 6.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1504, allocations: 85.06 kB / 448.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.1507, allocations: 286.8 kB / 449.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1507, allocations: 29.7 kB / 449.1 MB, free: 5.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1509, allocations: 243.8 kB / 449.3 MB, free: 5.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.151, allocations: 165.6 kB / 449.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.151, allocations: 8 kB / 449.5 MB, free: 5.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1512, allocations: 346.8 kB / 449.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.1514, allocations: 217 kB / 450.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.1518, allocations: 357.7 kB / 450.4 MB, free: 4.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.1522, allocations: 276.2 kB / 450.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1522, allocations: 0 / 450.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001117/0.1533, allocations: 0.708 MB / 451.4 MB, free: 3.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1534, allocations: 7.906 kB / 451.4 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008009/0.1542, allocations: 0.5146 MB / 451.9 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.1545, allocations: 81.34 kB / 452 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.1549, allocations: 111.8 kB / 452.1 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.1564, allocations: 1.609 MB / 453.7 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.1567, allocations: 35.95 kB / 453.8 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.1567, allocations: 16 kB / 453.8 MB, free: 1.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002636/0.157, allocations: 217.6 kB / 454 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/0.1571, allocations: 35.53 kB / 454 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.1579, allocations: 0.5589 MB / 454.6 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.1579, allocations: 16.22 kB / 454.6 MB, free: 256 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1579, allocations: 0 / 454.6 MB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.1579, allocations: 3.984 kB / 454.6 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2225/0.3804, allocations: 1.194 MB / 455.8 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/0.3805, allocations: 3.5 kB / 455.8 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.3809, allocations: 81.84 kB / 455.9 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.3809, allocations: 6.375 kB / 455.9 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.381, allocations: 15.17 kB / 455.9 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.381, allocations: 3.125 kB / 455.9 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.381, allocations: 3.156 kB / 455.9 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3822, allocations: 0.9555 MB / 456.9 MB, free: 51.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.3824, allocations: 105.9 kB / 457 MB, free: 50.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.3824, allocations: 17.22 kB / 457 MB, free: 50.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3826, allocations: 17.42 kB / 457 MB, free: 50.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.3827, allocations: 27.34 kB / 457 MB, free: 50.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.3828, allocations: 11.72 kB / 457 MB, free: 50.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.383, allocations: 195.4 kB / 457.2 MB, free: 50.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.383, allocations: 3.344 kB / 457.2 MB, free: 50.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006085/0.3836, allocations: 127.5 kB / 457.3 MB, free: 50.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.3851, allocations: 1.791 MB / 459.1 MB, free: 49.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.3862, allocations: 0.6524 MB / 459.8 MB, free: 49.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3862, allocations: 3.828 kB / 459.8 MB, free: 49.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3865, allocations: 258.8 kB / 460 MB, free: 49.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3869, allocations: 58.81 kB / 460.1 MB, free: 49.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.3911, allocations: 5.808 MB / 465.9 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3915, allocations: 0.8849 MB / 466.8 MB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003241/0.3918, allocations: 128.3 kB / 466.9 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.3921, allocations: 145.8 kB / 467.1 MB, free: 45.24 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3921, allocations: 0 / 467.1 MB, free: 45.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.4185, allocations: 8.031 MB / 475.1 MB, free: 44.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.4187, allocations: 211.6 kB / 475.3 MB, free: 44.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.148, allocations: 4 kB / 475.3 MB, free: 44.34 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) Environment - environmentSimulation: