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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1951/0.1951, allocations: 38.53 MB / 346.3 MB, free: 2.059 MB / 270.1 MB " [Timeout remaining time 179] 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: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003243/0.003243, allocations: 71.89 kB / 484.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.396, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008935/0.405, allocations: 9.13 MB / 0.542 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005743/0.4107, allocations: 3.064 MB / 0.5449 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006295/0.4113, allocations: 50.19 kB / 0.545 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.4142, allocations: 1.121 MB / 0.5461 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.4157, allocations: 0.631 MB / 0.5467 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.4176, allocations: 0.7314 MB / 0.5474 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.4196, allocations: 1.626 MB / 0.549 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.4206, allocations: 0.6022 MB / 0.5496 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.4218, allocations: 0.7445 MB / 0.5503 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.4233, allocations: 1.019 MB / 0.5513 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.4235, allocations: 104.4 kB / 0.5514 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.4245, allocations: 497.5 kB / 0.5519 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006838/0.4252, allocations: 0.6728 MB / 0.5525 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008378/0.426, allocations: 0.7083 MB / 0.5532 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.4283, allocations: 1.8 MB / 0.555 GB, free: 5.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4284, allocations: 0 / 0.555 GB, free: 5.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4284, allocations: 3.938 kB / 0.555 GB, free: 5.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.4284, allocations: 0 / 0.555 GB, free: 5.555 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.003351/0.4317, allocations: 1.604 MB / 0.5566 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4318, allocations: 12.03 kB / 0.5566 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.4336, allocations: 279.7 kB / 0.5568 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.4354, allocations: 0.8194 MB / 0.5576 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/0.4355, allocations: 82.72 kB / 0.5577 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.4359, allocations: 164 kB / 0.5579 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.4388, allocations: 1.846 MB / 0.5597 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.4389, allocations: 11.94 kB / 0.5597 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.439, allocations: 47.98 kB / 0.5597 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003185/0.4393, allocations: 98.16 kB / 0.5598 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.4419, allocations: 1.491 MB / 0.5613 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.4521, allocations: 8.191 MB / 0.5693 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.4534, allocations: 0.6605 MB / 0.5699 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.4541, allocations: 452 kB / 0.5704 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.4542, allocations: 20.62 kB / 0.5704 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.4542, allocations: 43.16 kB / 0.5704 GB, free: 5.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.4542, allocations: 0 / 0.5704 GB, free: 5.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004318/0.4585, allocations: 2.396 MB / 0.5728 GB, free: 2.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.4586, allocations: 93.83 kB / 0.5729 GB, free: 2.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.4598, allocations: 0.8214 MB / 0.5737 GB, free: 1.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.4598, allocations: 37.7 kB / 0.5737 GB, free: 1.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005593/0.4604, allocations: 0.7021 MB / 0.5744 GB, free: 1.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.4607, allocations: 321.4 kB / 0.5747 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.4611, allocations: 255.4 kB / 0.5749 GB, free: 448 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.4613, allocations: 414.7 kB / 0.5753 GB, free: 24 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/0.4621, allocations: 447.8 kB / 0.5758 GB, free: 15.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.4633, allocations: 1.005 MB / 0.5767 GB, free: 14.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.4656, allocations: 1.592 MB / 0.5783 GB, free: 12.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.4656, allocations: 7.938 kB / 0.5783 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00342/0.469, allocations: 1.761 MB / 0.58 GB, free: 10.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.469, allocations: 12 kB / 0.58 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001955/0.471, allocations: 0.9773 MB / 0.581 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/0.472, allocations: 246.8 kB / 0.5812 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.4731, allocations: 311.5 kB / 0.5815 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.4785, allocations: 4.874 MB / 0.5863 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000941/0.4794, allocations: 67.94 kB / 0.5863 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.4796, allocations: 67.98 kB / 0.5864 GB, free: 3.785 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.0007225/0.4803, allocations: 429.1 kB / 0.5868 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.4804, allocations: 99.34 kB / 0.5869 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.4821, allocations: 0.957 MB / 0.5878 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4821, allocations: 8 kB / 0.5879 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4821, allocations: 7.938 kB / 0.5879 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4821, allocations: 3.984 kB / 0.5879 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/0.486, allocations: 2.086 MB / 0.5899 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.486, allocations: 0 / 0.5899 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009506/0.487, allocations: 192 kB / 0.5901 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.487, allocations: 4 kB / 0.5901 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.4871, allocations: 31.92 kB / 0.5901 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.4871, allocations: 15.88 kB / 0.5901 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4871, allocations: 0 / 0.5901 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.4891, allocations: 1.41 MB / 0.5915 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.4894, allocations: 91.28 kB / 0.5916 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.4895, allocations: 23.98 kB / 0.5916 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.4899, allocations: 23.98 kB / 0.5916 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.49, allocations: 60.5 kB / 0.5917 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.4901, allocations: 23.98 kB / 0.5917 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007045/0.4908, allocations: 0.5419 MB / 0.5923 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4908, allocations: 0 / 0.5923 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001112/0.4919, allocations: 296 kB / 0.5925 GB, free: 13.39 MB / 446.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.0001679/0.4921, allocations: 123.2 kB / 0.5927 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002287/0.4943, allocations: 1.416 MB / 0.594 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4943, allocations: 0 / 0.594 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.4949, allocations: 392 kB / 0.5944 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.4959, allocations: 180.2 kB / 0.5946 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.5002, allocations: 2.768 MB / 0.5973 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.5012, allocations: 1.247 MB / 0.5985 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009442/0.5021, allocations: 420.7 kB / 0.5989 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.5024, allocations: 79.42 kB / 0.599 GB, free: 6.656 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5024, allocations: 0 / 0.599 GB, free: 6.656 MB / 446.1 MB Notification: Performance of Templates: time 0.0229/0.5252, allocations: 12.13 MB / 0.6108 GB, free: 10.57 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.605337856337428] Failed to read output from testmodel.py, exit status != 0: 0.5379549097269773 0.552064553 0.11997403000000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7221a4d7b0>