Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008948/0.0008946, allocations: 171.6 kB / 16.07 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.2 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007844/0.0007844, allocations: 88.81 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.159/0.159, allocations: 38.08 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 8 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 56.32 MB / 479.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007894/0.2473, allocations: 9.881 MB / 489.6 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.2527, allocations: 3.511 MB / 493.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008614/0.2536, allocations: 67.44 kB / 493.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007625/0.2543, allocations: 312.6 kB / 493.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.2561, allocations: 0.7302 MB / 494.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.2581, allocations: 0.7426 MB / 495 MB, free: 15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.2605, allocations: 1.963 MB / 496.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.2628, allocations: 1.417 MB / 498.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.2639, allocations: 0.5913 MB / 498.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.2653, allocations: 0.8969 MB / 499.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.2654, allocations: 56.59 kB / 499.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.2665, allocations: 436.1 kB / 0.4886 GB, free: 12.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006625/0.2672, allocations: 0.6161 MB / 0.4892 GB, free: 12.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000707/0.2679, allocations: 0.6255 MB / 0.4898 GB, free: 12.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.2693, allocations: 1.328 MB / 0.4911 GB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2693, allocations: 0 / 0.4911 GB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2693, allocations: 0 / 0.4911 GB, free: 11.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.2693, allocations: 1.25 kB / 0.4911 GB, free: 11.4 MB / 330.7 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.002522/0.2718, allocations: 1.395 MB / 0.4925 GB, free: 10.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2719, allocations: 10.16 kB / 0.4925 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002335/0.2721, allocations: 200 kB / 0.4927 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.2737, allocations: 272.4 kB / 0.4929 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.2751, allocations: 0.8404 MB / 0.4937 GB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.2752, allocations: 86.56 kB / 0.4938 GB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.2755, allocations: 164.3 kB / 0.494 GB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.278, allocations: 1.837 MB / 0.4958 GB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.2781, allocations: 8.875 kB / 0.4958 GB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.2782, allocations: 54.27 kB / 0.4958 GB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003131/0.2785, allocations: 105.2 kB / 0.4959 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.2807, allocations: 1.478 MB / 0.4974 GB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008073/0.2888, allocations: 8.297 MB / 0.5055 GB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.29, allocations: 1.159 MB / 0.5066 GB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.2907, allocations: 492 kB / 0.5071 GB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.2907, allocations: 16.56 kB / 0.5071 GB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2908, allocations: 47.16 kB / 0.5071 GB, free: 13.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.2908, allocations: 0 / 0.5071 GB, free: 13.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.003527/0.2943, allocations: 2.429 MB / 0.5095 GB, free: 11.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.2944, allocations: 97.69 kB / 0.5096 GB, free: 11.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000841/0.2952, allocations: 0.8095 MB / 0.5104 GB, free: 10.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.2953, allocations: 45.83 kB / 0.5104 GB, free: 10.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.2957, allocations: 0.688 MB / 0.5111 GB, free: 9.797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.2959, allocations: 299.8 kB / 0.5114 GB, free: 9.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.296, allocations: 24 kB / 0.5114 GB, free: 9.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2961, allocations: 414.7 kB / 0.5118 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.2968, allocations: 447.7 kB / 0.5123 GB, free: 8.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.2977, allocations: 0.9929 MB / 0.5132 GB, free: 7.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.2994, allocations: 1.581 MB / 0.5148 GB, free: 5.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.2994, allocations: 4 kB / 0.5148 GB, free: 5.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002736/0.3022, allocations: 1.768 MB / 0.5165 GB, free: 3.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3022, allocations: 12 kB / 0.5165 GB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001624/0.3038, allocations: 0.9803 MB / 0.5175 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008183/0.3047, allocations: 250.5 kB / 0.5177 GB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/0.3056, allocations: 311.5 kB / 0.518 GB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.3098, allocations: 4.79 MB / 0.5227 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.3106, allocations: 55.89 kB / 0.5227 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/0.3107, allocations: 68 kB / 0.5228 GB, free: 12.88 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006009/0.3113, allocations: 428.5 kB / 0.5232 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3114, allocations: 106.8 kB / 0.5233 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.3129, allocations: 0.9454 MB / 0.5242 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3129, allocations: 8 kB / 0.5242 GB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3129, allocations: 0 / 0.5242 GB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3129, allocations: 11.98 kB / 0.5242 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.3162, allocations: 2.123 MB / 0.5263 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3162, allocations: 4 kB / 0.5263 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008383/0.317, allocations: 187.7 kB / 0.5265 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.3171, allocations: 4 kB / 0.5265 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.3171, allocations: 23.98 kB / 0.5265 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.3171, allocations: 16.12 kB / 0.5265 GB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3171, allocations: 0 / 0.5265 GB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.3188, allocations: 1.397 MB / 0.5279 GB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.319, allocations: 163.9 kB / 0.5281 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3191, allocations: 24.17 kB / 0.5281 GB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.3195, allocations: 27.92 kB / 0.5281 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3197, allocations: 56.55 kB / 0.5282 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.3197, allocations: 24 kB / 0.5282 GB, free: 7.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005829/0.3203, allocations: 0.5419 MB / 0.5287 GB, free: 6.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3203, allocations: 0 / 0.5287 GB, free: 6.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009789/0.3213, allocations: 292 kB / 0.529 GB, free: 6.371 MB / 362.7 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 (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.001995/0.3233, allocations: 1.969 MB / 0.5309 GB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.3253, allocations: 1.446 MB / 0.5323 GB, free: 2.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3254, allocations: 1.75 kB / 0.5323 GB, free: 2.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.3259, allocations: 411.4 kB / 0.5327 GB, free: 2.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3269, allocations: 181.1 kB / 0.5329 GB, free: 2.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.3377, allocations: 7.901 MB / 0.5406 GB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/0.3386, allocations: 1.239 MB / 0.5418 GB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/0.3392, allocations: 475.3 kB / 0.5423 GB, free: 8.148 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3392, allocations: 0 / 0.5423 GB, free: 8.148 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.486/4.825, allocations: 23.67 MB / 0.5654 GB, free: 412 kB / 394.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)