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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001277/0.001277, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001327/0.001328, allocations: 197.3 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1793/0.1793, allocations: 38.04 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 75.81 kB / 457.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3144, allocations: 58.05 MB / 0.5036 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007817/0.3223, allocations: 8.914 MB / 0.5123 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005215/0.3275, allocations: 3.039 MB / 0.5153 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.3284, allocations: 33.66 kB / 0.5153 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00299/0.3314, allocations: 1.077 MB / 0.5164 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.3336, allocations: 0.6229 MB / 0.517 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.3362, allocations: 0.7247 MB / 0.5177 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.3395, allocations: 1.63 MB / 0.5193 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.3411, allocations: 0.9041 MB / 0.5202 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.3428, allocations: 0.7297 MB / 0.5209 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.3445, allocations: 0.9377 MB / 0.5218 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.3447, allocations: 108.3 kB / 0.5219 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3458, allocations: 450.5 kB / 0.5223 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008136/0.3467, allocations: 0.664 MB / 0.523 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.3478, allocations: 0.7089 MB / 0.5237 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.3506, allocations: 1.806 MB / 0.5254 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3506, allocations: 1.406 kB / 0.5254 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3506, allocations: 0 / 0.5254 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.635e-05/0.3507, allocations: 0 / 0.5254 GB, free: 10.53 MB / 398.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.004044/0.3547, allocations: 1.68 MB / 0.5271 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3548, allocations: 14.06 kB / 0.5271 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003228/0.3551, allocations: 193.1 kB / 0.5273 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.357, allocations: 283.9 kB / 0.5275 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.3593, allocations: 0.8943 MB / 0.5284 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3594, allocations: 90.02 kB / 0.5285 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004316/0.3598, allocations: 153.6 kB / 0.5287 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/0.3635, allocations: 1.846 MB / 0.5305 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.3635, allocations: 17.03 kB / 0.5305 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.3637, allocations: 50.45 kB / 0.5305 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003042/0.364, allocations: 97.72 kB / 0.5306 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/0.3668, allocations: 1.489 MB / 0.5321 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.377, allocations: 8.275 MB / 0.5402 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3785, allocations: 1.162 MB / 0.5413 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.3793, allocations: 487.7 kB / 0.5418 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/0.3793, allocations: 22.08 kB / 0.5418 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.3794, allocations: 46.88 kB / 0.5418 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.3794, allocations: 0 / 0.5418 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004148/0.3835, allocations: 2.465 MB / 0.5442 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.3836, allocations: 89.95 kB / 0.5443 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009868/0.3846, allocations: 0.8265 MB / 0.5451 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/0.3847, allocations: 44.56 kB / 0.5452 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.3853, allocations: 0.6978 MB / 0.5458 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.3857, allocations: 317.7 kB / 0.5461 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.3861, allocations: 265.4 kB / 0.5464 GB, free: 11.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002771/0.3864, allocations: 410.9 kB / 0.5468 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/0.3872, allocations: 452.9 kB / 0.5472 GB, free: 10.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.3886, allocations: 1.007 MB / 0.5482 GB, free: 9.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.3908, allocations: 1.587 MB / 0.5498 GB, free: 7.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.3909, allocations: 8 kB / 0.5498 GB, free: 7.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00336/0.3942, allocations: 1.776 MB / 0.5515 GB, free: 6.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.3943, allocations: 16 kB / 0.5515 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001885/0.3962, allocations: 0.9812 MB / 0.5525 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009297/0.3971, allocations: 246.6 kB / 0.5527 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3982, allocations: 307.5 kB / 0.553 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/0.4036, allocations: 5.184 MB / 0.5581 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4049, allocations: 64 kB / 0.5581 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.4051, allocations: 68 kB / 0.5582 GB, free: 14.9 MB / 430.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.0008456/0.4059, allocations: 425.1 kB / 0.5586 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.4061, allocations: 99.34 kB / 0.5587 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.4078, allocations: 0.957 MB / 0.5596 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.4078, allocations: 11.94 kB / 0.5596 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4078, allocations: 4 kB / 0.5596 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.4079, allocations: 3.984 kB / 0.5596 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004447/0.4123, allocations: 2.129 MB / 0.5617 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.4124, allocations: 0 / 0.5617 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009533/0.4133, allocations: 187.7 kB / 0.5619 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.4134, allocations: 12.19 kB / 0.5619 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.4134, allocations: 23.98 kB / 0.5619 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.4134, allocations: 4 kB / 0.5619 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.4135, allocations: 4 kB / 0.5619 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.4156, allocations: 1.41 MB / 0.5633 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.416, allocations: 168.4 kB / 0.5635 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.4162, allocations: 23.98 kB / 0.5635 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.4166, allocations: 20.17 kB / 0.5635 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4168, allocations: 56.56 kB / 0.5636 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.4169, allocations: 35.92 kB / 0.5636 GB, free: 9.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008522/0.4177, allocations: 0.5419 MB / 0.5641 GB, free: 8.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4177, allocations: 0 / 0.5641 GB, free: 8.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001348/0.4191, allocations: 292 kB / 0.5644 GB, free: 8.375 MB / 430.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.002545/0.4216, allocations: 1.973 MB / 0.5663 GB, free: 6.348 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.4243, allocations: 1.467 MB / 0.5678 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4243, allocations: 0 / 0.5678 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.425, allocations: 412.1 kB / 0.5682 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4262, allocations: 197 kB / 0.5684 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.4419, allocations: 10.33 MB / 0.5784 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/0.4429, allocations: 1.243 MB / 0.5797 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009908/0.4439, allocations: 420.7 kB / 0.5801 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/0.4446, allocations: 471.3 kB / 0.5805 GB, free: 7.09 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4446, allocations: 0 / 0.5805 GB, free: 7.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06034/0.505, allocations: 20.84 MB / 0.6009 GB, free: 2.414 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.68, allocations: 7.953 kB / 0.6009 GB, free: 2.406 MB / 462.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)