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.00126/0.00126, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001384/0.001384, allocations: 212.5 kB / 24.51 MB, free: 3.918 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.19/0.19, allocations: 38.54 MB / 353.2 MB, free: 12.3 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.00202/0.00202, allocations: 60.08 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 62.47 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01113/0.3426, allocations: 8.346 MB / 0.5509 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.3482, allocations: 2.852 MB / 0.5537 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005995/0.3488, allocations: 48.94 kB / 0.5537 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.3516, allocations: 1.06 MB / 0.5547 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3533, allocations: 0.6356 MB / 0.5554 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.3556, allocations: 0.7442 MB / 0.5561 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.3581, allocations: 1.619 MB / 0.5577 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.3592, allocations: 0.6935 MB / 0.5583 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.3605, allocations: 0.751 MB / 0.5591 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.3621, allocations: 1.013 MB / 0.5601 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.3622, allocations: 107.9 kB / 0.5602 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.3633, allocations: 495.3 kB / 0.5606 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006552/0.364, allocations: 0.6701 MB / 0.5613 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007323/0.3647, allocations: 0.5872 MB / 0.5619 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.3669, allocations: 1.833 MB / 0.5637 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3669, allocations: 0 / 0.5637 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3669, allocations: 0 / 0.5637 GB, free: 14.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.3669, allocations: 3.938 kB / 0.5637 GB, free: 14.75 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.003018/0.3699, allocations: 1.62 MB / 0.5652 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.37, allocations: 15.98 kB / 0.5653 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.594e-05/0.37, allocations: 30.53 kB / 0.5653 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002276/0.3703, allocations: 198.4 kB / 0.5655 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.3724, allocations: 395.6 kB / 0.5659 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.3741, allocations: 0.8155 MB / 0.5666 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.3742, allocations: 94.47 kB / 0.5667 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.3746, allocations: 155.8 kB / 0.5669 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.3774, allocations: 1.85 MB / 0.5687 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/0.3775, allocations: 11.94 kB / 0.5687 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.3776, allocations: 51.98 kB / 0.5688 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003232/0.3779, allocations: 102.1 kB / 0.5689 GB, free: 9.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.3804, allocations: 1.487 MB / 0.5703 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.3912, allocations: 7.918 MB / 0.578 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3925, allocations: 0.6581 MB / 0.5787 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.3932, allocations: 452.2 kB / 0.5791 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/0.3933, allocations: 12.64 kB / 0.5791 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3933, allocations: 43.22 kB / 0.5792 GB, free: 14.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/0.3933, allocations: 7.938 kB / 0.5792 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004323/0.3976, allocations: 2.396 MB / 0.5815 GB, free: 11.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.3977, allocations: 85.77 kB / 0.5816 GB, free: 11.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3988, allocations: 0.8214 MB / 0.5824 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.3989, allocations: 37.7 kB / 0.5824 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005799/0.3995, allocations: 0.706 MB / 0.5831 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.3998, allocations: 317.4 kB / 0.5834 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.4002, allocations: 259.4 kB / 0.5837 GB, free: 9.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002598/0.4004, allocations: 414.7 kB / 0.5841 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/0.4012, allocations: 447.7 kB / 0.5845 GB, free: 8.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4024, allocations: 1.005 MB / 0.5855 GB, free: 7.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.4045, allocations: 1.589 MB / 0.587 GB, free: 5.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.4045, allocations: 4 kB / 0.587 GB, free: 5.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003362/0.4079, allocations: 1.772 MB / 0.5888 GB, free: 3.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.4079, allocations: 14.66 kB / 0.5888 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001855/0.4098, allocations: 0.9812 MB / 0.5897 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/0.4107, allocations: 250.6 kB / 0.59 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4118, allocations: 311.5 kB / 0.5903 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.4174, allocations: 4.846 MB / 0.595 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009879/0.4184, allocations: 51.98 kB / 0.5951 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.4186, allocations: 68 kB / 0.5951 GB, free: 12.91 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.0008747/0.4195, allocations: 433.2 kB / 0.5955 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.4197, allocations: 99.34 kB / 0.5956 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.4216, allocations: 0.957 MB / 0.5966 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.4216, allocations: 11.94 kB / 0.5966 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4216, allocations: 4 kB / 0.5966 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.4216, allocations: 7.984 kB / 0.5966 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.4261, allocations: 2.004 MB / 0.5985 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.4261, allocations: 192 / 0.5985 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009996/0.4271, allocations: 187.8 kB / 0.5987 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.28e-05/0.4271, allocations: 8 kB / 0.5987 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/0.4272, allocations: 23.98 kB / 0.5987 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.4272, allocations: 7.938 kB / 0.5988 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4272, allocations: 7.938 kB / 0.5988 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.4295, allocations: 1.402 MB / 0.6001 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.4298, allocations: 95.33 kB / 0.6002 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.43, allocations: 27.94 kB / 0.6002 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.4305, allocations: 31.98 kB / 0.6003 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4306, allocations: 52.5 kB / 0.6003 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.4307, allocations: 31.98 kB / 0.6004 GB, free: 7.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008834/0.4316, allocations: 0.538 MB / 0.6009 GB, free: 6.879 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4316, allocations: 0 / 0.6009 GB, free: 6.879 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001477/0.433, allocations: 296 kB / 0.6012 GB, free: 6.59 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.002584/0.4356, allocations: 1.97 MB / 0.6031 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.4382, allocations: 1.42 MB / 0.6045 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4382, allocations: 0 / 0.6045 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.4388, allocations: 388.1 kB / 0.6048 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4399, allocations: 181.7 kB / 0.605 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.4565, allocations: 10.35 MB / 0.6151 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/0.4574, allocations: 0.6499 MB / 0.6158 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.4584, allocations: 420.7 kB / 0.6162 GB, free: 6.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/0.459, allocations: 467.3 kB / 0.6166 GB, free: 5.969 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.459, allocations: 0 / 0.6166 GB, free: 5.969 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05931/0.5184, allocations: 22.18 MB / 0.6383 GB, free: 88 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.28, allocations: 5.75 kB / 0.6383 GB, free: 88 kB / 478.1 MB " [Timeout remaining time 646] (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.19337811996229] Failed to read output from testmodel.py, exit status != 0: 14.464799984009005 14.492721412 14.120544166 Calling exit ...