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.001209/0.001209, allocations: 97.7 kB / 16.5 MB, free: 6.648 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.00105/0.00105, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.326/1.326, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1632/0.1632, allocations: 38 MB / 308.6 MB, free: 6.246 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.001335/0.001335, allocations: 71.03 kB / 374.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.212, allocations: 55.24 MB / 430 MB, free: 19.9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004313/0.2164, allocations: 5.079 MB / 435 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2182, allocations: 1.664 MB / 436.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.2184, allocations: 27.81 kB / 436.7 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000733/0.2191, allocations: 346.8 kB / 437.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.2195, allocations: 239 kB / 437.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.2199, allocations: 223.6 kB / 437.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.2204, allocations: 0.8577 MB / 438.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.2207, allocations: 280.6 kB / 438.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.2209, allocations: 223 kB / 438.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.2213, allocations: 374.9 kB / 439.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.2213, allocations: 24 kB / 439.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.2216, allocations: 239.5 kB / 439.5 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.2218, allocations: 231.4 kB / 439.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.222, allocations: 238.8 kB / 440 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.2224, allocations: 0.6542 MB / 440.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2224, allocations: 0 / 440.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.2224, allocations: 0 / 440.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2224, allocations: 0 / 440.6 MB, free: 9.215 MB / 318.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.0009919/0.2234, allocations: 0.7738 MB / 441.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2234, allocations: 8.031 kB / 441.4 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.2235, allocations: 86.7 kB / 441.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005158/0.224, allocations: 96.2 kB / 441.6 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2245, allocations: 407.2 kB / 442 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2245, allocations: 29.38 kB / 442 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.2246, allocations: 43.94 kB / 442 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.2253, allocations: 0.6842 MB / 442.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2253, allocations: 8 kB / 442.7 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.2254, allocations: 19.98 kB / 442.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.2255, allocations: 52.95 kB / 442.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.2263, allocations: 0.6635 MB / 443.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.2286, allocations: 2.441 MB / 445.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.229, allocations: 361.7 kB / 446.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.2293, allocations: 253.9 kB / 446.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.2293, allocations: 8.281 kB / 446.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.2294, allocations: 34.78 kB / 446.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 1.633e-06/0.2294, allocations: 0 / 446.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001632/0.231, allocations: 1.483 MB / 448 MB, free: 1.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.231, allocations: 81.11 kB / 448.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2312, allocations: 290.8 kB / 448.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2312, allocations: 29.7 kB / 448.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.2313, allocations: 247.7 kB / 448.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.2314, allocations: 153.8 kB / 448.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2315, allocations: 98.14 kB / 448.9 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.2316, allocations: 350.8 kB / 449.3 MB, free: 176 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2319, allocations: 217 kB / 449.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.2322, allocations: 365.7 kB / 449.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.2329, allocations: 0.62 MB / 450.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2329, allocations: 4 kB / 450.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001095/0.234, allocations: 0.7197 MB / 451.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2341, allocations: 8 kB / 451.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007767/0.2348, allocations: 0.5185 MB / 451.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.2351, allocations: 81.25 kB / 451.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.2355, allocations: 111.8 kB / 451.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.2369, allocations: 1.592 MB / 453.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2372, allocations: 39.94 kB / 453.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.2372, allocations: 16 kB / 453.5 MB, free: 11.63 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.2374, allocations: 217.6 kB / 453.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.2375, allocations: 35.53 kB / 453.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008088/0.2383, allocations: 0.5593 MB / 454.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.2384, allocations: 15.94 kB / 454.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2384, allocations: 0 / 454.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2384, allocations: 7.922 kB / 454.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.24, allocations: 1.184 MB / 455.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2401, allocations: 4.094 kB / 455.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.2405, allocations: 91.88 kB / 455.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2405, allocations: 0 / 455.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.2405, allocations: 12 kB / 455.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2405, allocations: 3.984 kB / 455.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2405, allocations: 7.938 kB / 455.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.2416, allocations: 0.9255 MB / 456.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.2417, allocations: 108.7 kB / 456.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.2417, allocations: 11.98 kB / 456.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2419, allocations: 19.97 kB / 456.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.242, allocations: 31.77 kB / 456.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.242, allocations: 12 kB / 456.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.2422, allocations: 201.9 kB / 457 MB, free: 8.059 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.2422, allocations: 0 / 457 MB, free: 8.059 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.2427, allocations: 123.9 kB / 457.1 MB, free: 7.938 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001424/0.2441, allocations: 1.509 MB / 458.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009025/0.245, allocations: 0.6619 MB / 459.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.245, allocations: 4.125 kB / 459.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.2454, allocations: 267.5 kB / 459.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.2458, allocations: 69.05 kB / 459.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.2513, allocations: 4.75 MB / 464.3 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.2519, allocations: 0.8781 MB / 465.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.2522, allocations: 127.1 kB / 465.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.2524, allocations: 151.3 kB / 465.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.765e-06/0.2525, allocations: 0 / 465.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.272, allocations: 8.086 MB / 473.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.2723, allocations: 226.6 kB / 473.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.214, allocations: 7.938 kB / 473.8 MB, free: 6.902 MB / 350.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/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)