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: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 107 kB / 17.74 MB, free: 5.359 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.001635/0.001635, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.329/1.329, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1749/0.1749, allocations: 37.97 MB / 309.9 MB, free: 5.977 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.001393/0.001393, allocations: 59.91 kB / 432.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09309, allocations: 55.25 MB / 487.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009221/0.1024, allocations: 8.925 MB / 496.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004817/0.1072, allocations: 3.081 MB / 499.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.1076, allocations: 31.81 kB / 499.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.1101, allocations: 1.081 MB / 0.4892 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.1114, allocations: 0.6335 MB / 0.4898 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.113, allocations: 0.7288 MB / 0.4905 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1145, allocations: 1.617 MB / 0.4921 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.1155, allocations: 0.9014 MB / 0.493 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007898/0.1163, allocations: 0.7354 MB / 0.4937 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.1174, allocations: 0.9386 MB / 0.4946 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.1176, allocations: 104 kB / 0.4947 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007524/0.1183, allocations: 455.3 kB / 0.4951 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005594/0.1189, allocations: 0.6663 MB / 0.4958 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006717/0.1196, allocations: 0.7153 MB / 0.4965 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.1212, allocations: 1.783 MB / 0.4982 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1212, allocations: 0 / 0.4982 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1212, allocations: 0 / 0.4982 GB, free: 1.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.1212, allocations: 0 / 0.4982 GB, free: 1.863 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.002753/0.124, allocations: 1.639 MB / 0.4998 GB, free: 172 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.124, allocations: 11.89 kB / 0.4998 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.1256, allocations: 278.9 kB / 0.5001 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.1271, allocations: 0.8831 MB / 0.501 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.1272, allocations: 90.7 kB / 0.501 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.1275, allocations: 152 kB / 0.5012 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.1299, allocations: 1.85 MB / 0.503 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/0.13, allocations: 7.938 kB / 0.503 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.1301, allocations: 55.98 kB / 0.5031 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002971/0.1304, allocations: 98.16 kB / 0.5032 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.1326, allocations: 1.495 MB / 0.5046 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008585/0.1412, allocations: 8.257 MB / 0.5127 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.1426, allocations: 1.172 MB / 0.5138 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.1433, allocations: 487.9 kB / 0.5143 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.1433, allocations: 16.64 kB / 0.5143 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1434, allocations: 47.16 kB / 0.5144 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.835e-06/0.1434, allocations: 0 / 0.5144 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.003858/0.1472, allocations: 2.437 MB / 0.5167 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1473, allocations: 89.75 kB / 0.5168 GB, free: 13.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008554/0.1482, allocations: 0.8251 MB / 0.5176 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.1482, allocations: 41.64 kB / 0.5177 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.1487, allocations: 0.6802 MB / 0.5183 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.1489, allocations: 319.7 kB / 0.5186 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.1492, allocations: 247.4 kB / 0.5189 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1494, allocations: 418.7 kB / 0.5193 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006386/0.15, allocations: 451.7 kB / 0.5197 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.1511, allocations: 0.9968 MB / 0.5207 GB, free: 9.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.1529, allocations: 1.585 MB / 0.5222 GB, free: 7.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.153, allocations: 11.98 kB / 0.5222 GB, free: 7.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003006/0.156, allocations: 1.768 MB / 0.524 GB, free: 6.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.156, allocations: 12 kB / 0.524 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001702/0.1577, allocations: 0.997 MB / 0.5249 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008661/0.1586, allocations: 246.4 kB / 0.5252 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.1596, allocations: 307.5 kB / 0.5255 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1919/0.3516, allocations: 5.175 MB / 0.5305 GB, free: 49.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009211/0.3525, allocations: 59.64 kB / 0.5306 GB, free: 49.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/0.3526, allocations: 67.41 kB / 0.5306 GB, free: 49.09 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.0005504/0.3532, allocations: 426.5 kB / 0.5311 GB, free: 48.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3533, allocations: 103.3 kB / 0.5311 GB, free: 48.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.3547, allocations: 0.9488 MB / 0.5321 GB, free: 48.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3547, allocations: 5.094 kB / 0.5321 GB, free: 48.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3548, allocations: 0.9688 kB / 0.5321 GB, free: 48.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3549, allocations: 164.8 kB / 0.5322 GB, free: 48.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.355, allocations: 22.2 kB / 0.5323 GB, free: 48.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.3554, allocations: 21.59 kB / 0.5323 GB, free: 48.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3556, allocations: 49.8 kB / 0.5323 GB, free: 48.81 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001871/0.3574, allocations: 1.147 MB / 0.5334 GB, free: 48.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001776/0.3592, allocations: 1.584 MB / 0.535 GB, free: 48.11 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004959/0.3597, allocations: 407.2 kB / 0.5354 GB, free: 47.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006152/0.3604, allocations: 0.542 MB / 0.5359 GB, free: 47.77 MB / 414.1 MB Notification: Performance of Backend: time 6.61e-07/0.3604, allocations: 0 / 0.5359 GB, free: 47.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.3628, allocations: 1.402 MB / 0.5373 GB, free: 47.14 MB / 414.1 MB Notification: Performance of SimCode: time 0.003382/0.3662, allocations: 2.989 MB / 0.5402 GB, free: 45.45 MB / 414.1 MB Notification: Performance of Templates: time 0.02361/0.3898, allocations: 15.15 MB / 0.555 GB, free: 40.55 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)