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.001076/0.001076, allocations: 113.8 kB / 17.06 MB, free: 5.969 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.001143/0.001143, allocations: 198.9 kB / 18 MB, free: 5.055 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.271/1.271, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1752/0.1752, allocations: 37.99 MB / 309.2 MB, free: 5.957 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.001402/0.001402, allocations: 63.91 kB / 431.4 MB, free: 16.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.0853, allocations: 55.25 MB / 486.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009479/0.09482, allocations: 8.925 MB / 495.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004973/0.09983, allocations: 3.077 MB / 498.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006296/0.1005, allocations: 39.75 kB / 498.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.1032, allocations: 1.074 MB / 499.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.1046, allocations: 0.6296 MB / 0.4886 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.1063, allocations: 0.7287 MB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.1081, allocations: 1.617 MB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.1092, allocations: 0.9052 MB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.1104, allocations: 0.7315 MB / 0.4925 GB, free: 7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.1118, allocations: 0.9425 MB / 0.4934 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.1121, allocations: 104 kB / 0.4935 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008678/0.1129, allocations: 459.2 kB / 0.494 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006229/0.1136, allocations: 0.6585 MB / 0.4946 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009044/0.1145, allocations: 0.7114 MB / 0.4953 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.1164, allocations: 1.787 MB / 0.4971 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1164, allocations: 0 / 0.4971 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1164, allocations: 0 / 0.4971 GB, free: 2.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.1165, allocations: 4 kB / 0.4971 GB, free: 2.332 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003201/0.1197, allocations: 1.639 MB / 0.4987 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1197, allocations: 15.89 kB / 0.4987 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002293/0.1199, allocations: 190.5 kB / 0.4989 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.1215, allocations: 278.9 kB / 0.4991 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1234, allocations: 0.8831 MB / 0.5 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.1235, allocations: 90.7 kB / 0.5001 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.1239, allocations: 151.8 kB / 0.5002 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.1264, allocations: 1.854 MB / 0.502 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.1264, allocations: 7.938 kB / 0.502 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.1265, allocations: 52 kB / 0.5021 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/0.1268, allocations: 102.1 kB / 0.5022 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.1291, allocations: 1.491 MB / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008491/0.1376, allocations: 8.265 MB / 0.5117 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.139, allocations: 1.163 MB / 0.5129 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.1396, allocations: 499.9 kB / 0.5133 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-05/0.1397, allocations: 12.64 kB / 0.5133 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1397, allocations: 47.22 kB / 0.5134 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 3.036e-06/0.1397, allocations: 0 / 0.5134 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.003814/0.1435, allocations: 2.433 MB / 0.5158 GB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1436, allocations: 93.64 kB / 0.5159 GB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/0.1445, allocations: 0.8251 MB / 0.5167 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.1445, allocations: 37.7 kB / 0.5167 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.145, allocations: 0.6803 MB / 0.5174 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.1452, allocations: 311.7 kB / 0.5177 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.1455, allocations: 251.3 kB / 0.5179 GB, free: 12.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1457, allocations: 418.8 kB / 0.5183 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.1464, allocations: 451.7 kB / 0.5187 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009613/0.1473, allocations: 1.001 MB / 0.5197 GB, free: 9.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.1491, allocations: 1.585 MB / 0.5213 GB, free: 8.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.1491, allocations: 4 kB / 0.5213 GB, free: 8.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002965/0.1521, allocations: 1.783 MB / 0.523 GB, free: 6.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.1522, allocations: 12 kB / 0.523 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001644/0.1538, allocations: 0.9859 MB / 0.524 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008363/0.1547, allocations: 246.3 kB / 0.5242 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009857/0.1556, allocations: 319.4 kB / 0.5245 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2033/0.3589, allocations: 5.167 MB / 0.5296 GB, free: 48.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3603, allocations: 58.06 kB / 0.5296 GB, free: 48.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.3604, allocations: 69 kB / 0.5297 GB, free: 48.92 MB / 414.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.000871/0.3613, allocations: 425 kB / 0.5301 GB, free: 48.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.3616, allocations: 97.55 kB / 0.5302 GB, free: 48.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.3633, allocations: 0.9539 MB / 0.5311 GB, free: 48.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3633, allocations: 8.828 kB / 0.5311 GB, free: 48.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3633, allocations: 1.906 kB / 0.5311 GB, free: 48.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.3633, allocations: 5.25 kB / 0.5311 GB, free: 48.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/0.3671, allocations: 2.125 MB / 0.5332 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.3671, allocations: 1.5 kB / 0.5332 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/0.368, allocations: 187.6 kB / 0.5334 GB, free: 48.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.368, allocations: 8.375 kB / 0.5334 GB, free: 48.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/0.3681, allocations: 23.41 kB / 0.5334 GB, free: 48.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.3681, allocations: 13.14 kB / 0.5334 GB, free: 48.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3681, allocations: 5.281 kB / 0.5334 GB, free: 48.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.37, allocations: 1.4 MB / 0.5348 GB, free: 47.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.3702, allocations: 157.1 kB / 0.5349 GB, free: 47.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3703, allocations: 24.06 kB / 0.535 GB, free: 47.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.3707, allocations: 29 kB / 0.535 GB, free: 47.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3708, allocations: 59.16 kB / 0.5351 GB, free: 47.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.3709, allocations: 23.45 kB / 0.5351 GB, free: 47.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006971/0.3716, allocations: 0.5389 MB / 0.5356 GB, free: 47.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3716, allocations: 0 / 0.5356 GB, free: 47.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001047/0.3727, allocations: 296 kB / 0.5359 GB, free: 47.41 MB / 414.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.002015/0.3747, allocations: 1.973 MB / 0.5378 GB, free: 46.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.3772, allocations: 1.465 MB / 0.5392 GB, free: 45.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3772, allocations: 1.875 kB / 0.5392 GB, free: 45.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008117/0.378, allocations: 412 kB / 0.5396 GB, free: 45.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.3793, allocations: 186.3 kB / 0.5398 GB, free: 45.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.3921, allocations: 10.29 MB / 0.5499 GB, free: 39.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/0.3928, allocations: 1.251 MB / 0.5511 GB, free: 38.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008897/0.3937, allocations: 420 kB / 0.5515 GB, free: 38.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.3941, allocations: 467.1 kB / 0.5519 GB, free: 38.45 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3941, allocations: 384 / 0.5519 GB, free: 38.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03849/0.4326, allocations: 21.17 MB / 0.5726 GB, free: 21.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.18, allocations: 11.78 kB / 0.5726 GB, free: 21.19 MB / 414.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)