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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002337/0.002337, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.1867/0.1867, allocations: 38.53 MB / 353.2 MB, free: 12.56 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003259/0.003259, allocations: 67.91 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3897, allocations: 62.46 MB / 0.5428 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01281/0.4025, allocations: 9.131 MB / 0.5517 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007896/0.4104, allocations: 3.101 MB / 0.5547 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.4116, allocations: 49 kB / 0.5548 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003597/0.4152, allocations: 1.118 MB / 0.5559 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.4173, allocations: 0.6339 MB / 0.5565 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.4196, allocations: 0.7475 MB / 0.5572 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.4222, allocations: 1.626 MB / 0.5588 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.4234, allocations: 0.6896 MB / 0.5595 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.4251, allocations: 0.7471 MB / 0.5602 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.4272, allocations: 1.02 MB / 0.5612 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.4275, allocations: 104 kB / 0.5613 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.429, allocations: 0.5109 MB / 0.5618 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.4301, allocations: 0.6662 MB / 0.5624 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.4314, allocations: 0.7152 MB / 0.5631 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.4347, allocations: 1.817 MB / 0.5649 GB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4347, allocations: 0 / 0.5649 GB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4347, allocations: 0 / 0.5649 GB, free: 13.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.48e-05/0.4348, allocations: 0 / 0.5649 GB, free: 13.74 MB / 414.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.004272/0.439, allocations: 1.626 MB / 0.5665 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4391, allocations: 11.98 kB / 0.5665 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.476e-05/0.4391, allocations: 34.53 kB / 0.5666 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004044/0.4395, allocations: 194.4 kB / 0.5667 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/0.4421, allocations: 395.6 kB / 0.5671 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.4442, allocations: 0.8116 MB / 0.5679 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.4443, allocations: 94.45 kB / 0.568 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.4447, allocations: 147.9 kB / 0.5681 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.4477, allocations: 1.846 MB / 0.5699 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.4478, allocations: 19.89 kB / 0.57 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.4479, allocations: 51.98 kB / 0.57 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003259/0.4482, allocations: 98.14 kB / 0.5701 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.4507, allocations: 1.499 MB / 0.5716 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.4613, allocations: 8.179 MB / 0.5796 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.4626, allocations: 0.6703 MB / 0.5802 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.4633, allocations: 452.2 kB / 0.5806 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.4634, allocations: 12.64 kB / 0.5807 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.4634, allocations: 43.22 kB / 0.5807 GB, free: 12.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.4634, allocations: 4 kB / 0.5807 GB, free: 12.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004246/0.4677, allocations: 2.396 MB / 0.583 GB, free: 10.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.4677, allocations: 85.77 kB / 0.5831 GB, free: 10.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4688, allocations: 0.8292 MB / 0.5839 GB, free: 9.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.4689, allocations: 33.7 kB / 0.584 GB, free: 9.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/0.4694, allocations: 0.7022 MB / 0.5846 GB, free: 8.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.4697, allocations: 321.4 kB / 0.585 GB, free: 8.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.4701, allocations: 259.4 kB / 0.5852 GB, free: 8.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.4703, allocations: 414.7 kB / 0.5856 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/0.4711, allocations: 451.7 kB / 0.586 GB, free: 7.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.4723, allocations: 1.005 MB / 0.587 GB, free: 6.141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.4744, allocations: 1.592 MB / 0.5886 GB, free: 4.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.4744, allocations: 8 kB / 0.5886 GB, free: 4.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003418/0.4778, allocations: 1.761 MB / 0.5903 GB, free: 2.504 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.4779, allocations: 16.22 kB / 0.5903 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001965/0.4798, allocations: 0.9812 MB / 0.5913 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009748/0.4808, allocations: 242.4 kB / 0.5915 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.4821, allocations: 315.5 kB / 0.5918 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00595/0.4881, allocations: 4.866 MB / 0.5965 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4891, allocations: 59.92 kB / 0.5966 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.4894, allocations: 71.94 kB / 0.5967 GB, free: 11.6 MB / 446.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.0008993/0.4903, allocations: 433.1 kB / 0.5971 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.4905, allocations: 99.34 kB / 0.5972 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.4922, allocations: 0.9493 MB / 0.5981 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.4922, allocations: 11.94 kB / 0.5981 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4922, allocations: 0 / 0.5981 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4922, allocations: 11.98 kB / 0.5981 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.4963, allocations: 2.093 MB / 0.6002 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4963, allocations: 0 / 0.6002 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009474/0.4972, allocations: 183.7 kB / 0.6004 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.4972, allocations: 4 kB / 0.6004 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.4973, allocations: 23.98 kB / 0.6004 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/0.4973, allocations: 8 kB / 0.6004 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4973, allocations: 192 / 0.6004 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.4994, allocations: 1.418 MB / 0.6018 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.4996, allocations: 91.33 kB / 0.6019 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.4997, allocations: 24 kB / 0.6019 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.5001, allocations: 19.98 kB / 0.6019 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5003, allocations: 60.48 kB / 0.602 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.5003, allocations: 24 kB / 0.602 GB, free: 6.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007914/0.5011, allocations: 0.55 MB / 0.6025 GB, free: 5.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5011, allocations: 0 / 0.6025 GB, free: 5.496 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001113/0.5022, allocations: 299.9 kB / 0.6028 GB, free: 5.203 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.002491/0.5047, allocations: 1.969 MB / 0.6047 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002625/0.5073, allocations: 1.418 MB / 0.6061 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5073, allocations: 4 kB / 0.6061 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.508, allocations: 385 kB / 0.6065 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.509, allocations: 186.4 kB / 0.6067 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.5247, allocations: 10.34 MB / 0.6168 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.5259, allocations: 1.247 MB / 0.618 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001135/0.527, allocations: 416.7 kB / 0.6184 GB, free: 4.449 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007264/0.5277, allocations: 467.3 kB / 0.6188 GB, free: 3.992 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5278, allocations: 0 / 0.6188 GB, free: 3.992 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/0.5914, allocations: 22.15 MB / 0.6405 GB, free: 14.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.36, allocations: 15.91 kB / 0.6405 GB, free: 14.01 MB / 494.1 MB " [Timeout remaining time 645] (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 --stepSize=0.18 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.281339331006166] Failed to read output from testmodel.py, exit status != 0: 14.546237843984272 14.561507037 14.123152036 Calling exit ...