Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",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.0008019/0.0008023, allocations: 90.39 kB / 16.65 MB, free: 6.586 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.00103/0.00103, allocations: 181.2 kB / 17.56 MB, free: 6.203 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.349/1.349, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1695/0.1695, allocations: 38.06 MB / 310.1 MB, free: 5.906 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.0005259/0.0005262, allocations: 16.56 kB / 377.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 56.33 MB / 433.6 MB, free: 18.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.006696/0.2343, allocations: 10.48 MB / 444.1 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004581/0.2389, allocations: 3.701 MB / 447.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006042/0.2395, allocations: 71.5 kB / 447.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.2401, allocations: 258.3 kB / 448.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009578/0.241, allocations: 0.5834 MB / 448.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.2423, allocations: 0.6473 MB / 449.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.2438, allocations: 2.464 MB / 451.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.2457, allocations: 1.435 MB / 453.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/0.2466, allocations: 0.5754 MB / 453.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.2477, allocations: 0.9229 MB / 454.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.2479, allocations: 52 kB / 454.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007444/0.2486, allocations: 447.2 kB / 455.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005517/0.2492, allocations: 0.6155 MB / 455.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.2498, allocations: 0.6506 MB / 456.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.2512, allocations: 1.705 MB / 458.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2512, allocations: 0 / 458.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2512, allocations: 0 / 458.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.2513, allocations: 4 kB / 458.2 MB, free: 10.04 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002369/0.2536, allocations: 1.401 MB / 459.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2537, allocations: 8.031 kB / 459.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/0.2539, allocations: 198.4 kB / 459.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.2555, allocations: 271 kB / 460.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.2567, allocations: 0.8402 MB / 460.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/0.2568, allocations: 90.7 kB / 461 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.2571, allocations: 159.7 kB / 461.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.2595, allocations: 1.85 MB / 463 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.2596, allocations: 7.938 kB / 463 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.2597, allocations: 55.97 kB / 463.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/0.26, allocations: 98.16 kB / 463.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.2621, allocations: 1.487 MB / 464.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008023/0.2702, allocations: 8.304 MB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.2715, allocations: 1.166 MB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/0.2721, allocations: 496 kB / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.2722, allocations: 20.62 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.2722, allocations: 39.22 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.2722, allocations: 0 / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.003635/0.2759, allocations: 2.441 MB / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.276, allocations: 89.7 kB / 477.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.2768, allocations: 0.8174 MB / 478 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.2769, allocations: 41.7 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.2773, allocations: 0.6841 MB / 478.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.2776, allocations: 299.8 kB / 479 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2777, allocations: 113.7 kB / 479.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2779, allocations: 418.7 kB / 479.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006246/0.2785, allocations: 459.7 kB / 480 MB, free: 3.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009487/0.2795, allocations: 0.9968 MB / 481 MB, free: 2.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.2812, allocations: 1.596 MB / 482.6 MB, free: 232 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2812, allocations: 4 kB / 482.6 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002829/0.2841, allocations: 1.771 MB / 484.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.2841, allocations: 12 kB / 484.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001633/0.2858, allocations: 0.9927 MB / 485.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.2866, allocations: 250.3 kB / 485.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.2875, allocations: 307.5 kB / 485.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/0.2916, allocations: 4.798 MB / 490.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000721/0.2923, allocations: 59.89 kB / 490.8 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.2924, allocations: 71.98 kB / 490.8 MB, free: 7.539 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000593/0.293, allocations: 429.2 kB / 491.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2932, allocations: 98.72 kB / 491.3 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.2946, allocations: 0.957 MB / 492.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2946, allocations: 8 kB / 492.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2946, allocations: 0 / 492.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2946, allocations: 7.984 kB / 492.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.298, allocations: 2.119 MB / 494.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2981, allocations: 4.188 kB / 494.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.2989, allocations: 187.8 kB / 494.6 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.2989, allocations: 7.984 kB / 494.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.2989, allocations: 20 kB / 494.6 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.299, allocations: 7.938 kB / 494.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.299, allocations: 11.92 kB / 494.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.3007, allocations: 1.401 MB / 496.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.3008, allocations: 167.8 kB / 496.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.301, allocations: 20 kB / 496.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.3013, allocations: 27.91 kB / 496.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.3015, allocations: 56.59 kB / 496.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.3015, allocations: 23.98 kB / 496.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005924/0.3021, allocations: 0.538 MB / 496.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3021, allocations: 0 / 496.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009138/0.303, allocations: 292 kB / 497.2 MB, free: 1.031 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * Array equations: 0 * 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.001984/0.305, allocations: 1.977 MB / 499.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.307, allocations: 1.455 MB / 0.4889 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.307, allocations: 4 kB / 0.4889 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.3076, allocations: 411.4 kB / 0.4893 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3086, allocations: 180.5 kB / 0.4894 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.3221, allocations: 11.31 MB / 0.5005 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008541/0.323, allocations: 1.243 MB / 0.5017 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.3241, allocations: 424.7 kB / 0.5021 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.3247, allocations: 467.3 kB / 0.5026 GB, free: 14.66 MB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3247, allocations: 0 / 0.5026 GB, free: 14.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2038/0.5285, allocations: 19.66 MB / 0.5217 GB, free: 86.71 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.5287, allocations: 224.2 kB / 0.522 GB, free: 86.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.639, allocations: 2.625 kB / 0.522 GB, free: 86.46 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)