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: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.001619, allocations: 185.4 kB / 15.77 MB, free: 5.984 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.995/1.995, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001157/0.001156, allocations: 94.86 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2723/0.2723, allocations: 38.05 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004807, allocations: 15.98 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1138, allocations: 56.33 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01507/0.129, allocations: 9.323 MB / 488.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00984/0.1389, allocations: 3.528 MB / 491.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.1404, allocations: 71.5 kB / 492 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.1424, allocations: 306.1 kB / 492.3 MB, free: 4.758 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC3ph/Sensors.mo:213:5-214:73:writable] Warning: Conditional component ‘v_abc‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.004813/0.1472, allocations: 0.6269 MB / 492.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.1522, allocations: 0.6976 MB / 493.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.1555, allocations: 0.8394 MB / 494.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.1592, allocations: 1.317 MB / 495.7 MB, free: 1.223 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.1609, allocations: 0.5099 MB / 496.2 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.1627, allocations: 0.631 MB / 496.9 MB, free: 80 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003256/0.1631, allocations: 52 kB / 496.9 MB, free: 28 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.1644, allocations: 299.5 kB / 497.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009773/0.1654, allocations: 0.5573 MB / 497.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.1659, allocations: 276.9 kB / 498 MB, free: 14.9 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.1686, allocations: 1.317 MB / 499.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1687, allocations: 0 / 499.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1687, allocations: 0 / 499.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.163e-05/0.1688, allocations: 0 / 499.4 MB, free: 13.58 MB / 346.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.004712/0.1735, allocations: 1.412 MB / 0.489 GB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1735, allocations: 12.03 kB / 0.489 GB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.1766, allocations: 294 kB / 0.4893 GB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.1794, allocations: 0.8083 MB / 0.4901 GB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.1796, allocations: 98.25 kB / 0.4902 GB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000672/0.1803, allocations: 151.9 kB / 0.4904 GB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/0.185, allocations: 1.823 MB / 0.4921 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-05/0.1851, allocations: 15.88 kB / 0.4922 GB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/0.1853, allocations: 55.97 kB / 0.4922 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005329/0.1859, allocations: 98.16 kB / 0.4923 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004443/0.1903, allocations: 1.468 MB / 0.4937 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.2063, allocations: 8.285 MB / 0.5018 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.2087, allocations: 1.156 MB / 0.503 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.2088, allocations: 12.7 kB / 0.503 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.2089, allocations: 51.14 kB / 0.503 GB, free: 13.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 3.917e-06/0.2089, allocations: 3.938 kB / 0.503 GB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.006592/0.2155, allocations: 2.39 MB / 0.5054 GB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/0.2157, allocations: 89.77 kB / 0.5054 GB, free: 10.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.2172, allocations: 0.8135 MB / 0.5062 GB, free: 9.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.2174, allocations: 37.7 kB / 0.5063 GB, free: 9.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000661/0.218, allocations: 0.7021 MB / 0.507 GB, free: 8.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/0.2186, allocations: 311.7 kB / 0.5072 GB, free: 8.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2187, allocations: 28 kB / 0.5073 GB, free: 8.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.2189, allocations: 366.8 kB / 0.5076 GB, free: 8.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.2203, allocations: 439.7 kB / 0.508 GB, free: 7.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.2223, allocations: 0.989 MB / 0.509 GB, free: 6.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.2241, allocations: 0.6313 MB / 0.5096 GB, free: 5.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.2241, allocations: 8 kB / 0.5096 GB, free: 5.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005348/0.2295, allocations: 1.695 MB / 0.5113 GB, free: 4.227 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.2296, allocations: 15.98 kB / 0.5113 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003192/0.2328, allocations: 0.9647 MB / 0.5122 GB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.2344, allocations: 250.3 kB / 0.5125 GB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.2366, allocations: 315.5 kB / 0.5128 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3072/0.5438, allocations: 4.848 MB / 0.5175 GB, free: 48.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.5452, allocations: 57.3 kB / 0.5176 GB, free: 48.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.5454, allocations: 68.41 kB / 0.5176 GB, free: 48.61 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.0009645/0.5464, allocations: 436.2 kB / 0.5181 GB, free: 48.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.5467, allocations: 96.89 kB / 0.5181 GB, free: 48.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.5491, allocations: 0.9421 MB / 0.5191 GB, free: 48.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5492, allocations: 7.781 kB / 0.5191 GB, free: 48.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5492, allocations: 4.031 kB / 0.5191 GB, free: 48.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.5493, allocations: 9.016 kB / 0.5191 GB, free: 48.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.5554, allocations: 2.105 MB / 0.5211 GB, free: 47.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.5555, allocations: 1.375 kB / 0.5211 GB, free: 47.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.5574, allocations: 185.6 kB / 0.5213 GB, free: 47.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.5574, allocations: 12.38 kB / 0.5213 GB, free: 47.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/0.5575, allocations: 23.7 kB / 0.5214 GB, free: 47.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.5575, allocations: 8.297 kB / 0.5214 GB, free: 47.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5575, allocations: 2.75 kB / 0.5214 GB, free: 47.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.5607, allocations: 1.459 MB / 0.5228 GB, free: 46.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.5612, allocations: 163.9 kB / 0.5229 GB, free: 46.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.5614, allocations: 21.69 kB / 0.523 GB, free: 46.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.5622, allocations: 29.55 kB / 0.523 GB, free: 46.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.5624, allocations: 49.16 kB / 0.523 GB, free: 46.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.658e-05/0.5625, allocations: 27.25 kB / 0.5231 GB, free: 46.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.5636, allocations: 0.5329 MB / 0.5236 GB, free: 46.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5636, allocations: 0 / 0.5236 GB, free: 46.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001789/0.5654, allocations: 297.8 kB / 0.5239 GB, free: 46.44 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.0002244/0.5657, allocations: 127.8 kB / 0.524 GB, free: 46.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003551/0.5692, allocations: 1.436 MB / 0.5254 GB, free: 45.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/0.5693, allocations: 0 / 0.5254 GB, free: 45.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.5703, allocations: 398.2 kB / 0.5258 GB, free: 45.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.5717, allocations: 168.4 kB / 0.5259 GB, free: 45.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.5789, allocations: 3.401 MB / 0.5293 GB, free: 43.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.5803, allocations: 1.271 MB / 0.5305 GB, free: 42.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/0.5809, allocations: 90.47 kB / 0.5306 GB, free: 42.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5809, allocations: 0 / 0.5306 GB, free: 42.74 MB / 362.7 MB Notification: Performance of Templates: time 0.03631/0.6172, allocations: 19.49 MB / 0.5496 GB, free: 28.92 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (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 & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)