Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001734/0.001734, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001906/0.001906, allocations: 213.4 kB / 24.52 MB, free: 3.941 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1843/0.1843, allocations: 38.55 MB / 353.2 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_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.001955/0.001955, allocations: 63.89 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.33, allocations: 62.47 MB / 0.5427 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01255/0.3426, allocations: 8.351 MB / 0.5509 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006532/0.3491, allocations: 2.868 MB / 0.5537 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000968/0.3501, allocations: 46.31 kB / 0.5537 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.3533, allocations: 1.044 MB / 0.5547 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.3552, allocations: 0.6396 MB / 0.5554 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.3575, allocations: 0.7401 MB / 0.5561 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002389/0.3599, allocations: 1.624 MB / 0.5577 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.3611, allocations: 0.6908 MB / 0.5583 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.3627, allocations: 0.7588 MB / 0.5591 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.3645, allocations: 1.005 MB / 0.5601 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003594/0.3648, allocations: 104 kB / 0.5602 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.3661, allocations: 499.2 kB / 0.5606 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008461/0.367, allocations: 0.6741 MB / 0.5613 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.368, allocations: 0.5949 MB / 0.5619 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.3708, allocations: 1.825 MB / 0.5637 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3708, allocations: 4 kB / 0.5637 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3708, allocations: 0 / 0.5637 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.825e-05/0.3709, allocations: 0 / 0.5637 GB, free: 14.72 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.004059/0.3749, allocations: 1.616 MB / 0.5652 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.375, allocations: 11.98 kB / 0.5653 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.625e-05/0.375, allocations: 38.53 kB / 0.5653 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/0.3753, allocations: 190.5 kB / 0.5655 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.3777, allocations: 399.5 kB / 0.5659 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.3796, allocations: 0.8194 MB / 0.5667 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-05/0.3797, allocations: 90.47 kB / 0.5667 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.3801, allocations: 147.9 kB / 0.5669 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.3831, allocations: 1.85 MB / 0.5687 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.3832, allocations: 7.938 kB / 0.5687 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.3833, allocations: 51.98 kB / 0.5687 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003194/0.3836, allocations: 102.1 kB / 0.5688 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.3862, allocations: 1.491 MB / 0.5703 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.3969, allocations: 7.918 MB / 0.578 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.3982, allocations: 0.6623 MB / 0.5787 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/0.3988, allocations: 452.2 kB / 0.5791 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.3989, allocations: 16.66 kB / 0.5791 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.3989, allocations: 43.16 kB / 0.5792 GB, free: 14.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.647e-06/0.399, allocations: 0 / 0.5792 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004437/0.4034, allocations: 2.396 MB / 0.5815 GB, free: 11.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.4035, allocations: 89.77 kB / 0.5816 GB, free: 11.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.4046, allocations: 0.8252 MB / 0.5824 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.4046, allocations: 41.7 kB / 0.5824 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000613/0.4053, allocations: 0.6983 MB / 0.5831 GB, free: 10.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.4056, allocations: 321.4 kB / 0.5834 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.4059, allocations: 259.4 kB / 0.5837 GB, free: 9.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.4062, allocations: 414.7 kB / 0.5841 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007327/0.4069, allocations: 455.7 kB / 0.5845 GB, free: 8.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.4081, allocations: 0.9968 MB / 0.5855 GB, free: 7.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.4104, allocations: 1.592 MB / 0.587 GB, free: 5.547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.4104, allocations: 4 kB / 0.587 GB, free: 5.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003619/0.4141, allocations: 1.769 MB / 0.5888 GB, free: 3.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.4141, allocations: 12 kB / 0.5888 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001833/0.4159, allocations: 0.9852 MB / 0.5897 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009986/0.4169, allocations: 238.4 kB / 0.59 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.4181, allocations: 315.5 kB / 0.5903 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.4239, allocations: 4.854 MB / 0.595 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.425, allocations: 47.98 kB / 0.5951 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.4251, allocations: 68 kB / 0.5951 GB, free: 12.89 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.0008252/0.4259, allocations: 425.1 kB / 0.5955 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.4261, allocations: 107.3 kB / 0.5956 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.4279, allocations: 0.9532 MB / 0.5966 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.4279, allocations: 11.94 kB / 0.5966 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4279, allocations: 0 / 0.5966 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4279, allocations: 7.969 kB / 0.5966 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/0.4318, allocations: 2.015 MB / 0.5985 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.4318, allocations: 4 kB / 0.5986 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009439/0.4327, allocations: 183.7 kB / 0.5987 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.4328, allocations: 4 kB / 0.5987 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.4328, allocations: 23.98 kB / 0.5988 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.4328, allocations: 8.188 kB / 0.5988 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4328, allocations: 4 kB / 0.5988 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.4349, allocations: 1.41 MB / 0.6001 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.4351, allocations: 87.34 kB / 0.6002 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4352, allocations: 27.94 kB / 0.6003 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.4356, allocations: 23.98 kB / 0.6003 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4358, allocations: 64.66 kB / 0.6003 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.4358, allocations: 20 kB / 0.6004 GB, free: 7.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008012/0.4366, allocations: 0.5421 MB / 0.6009 GB, free: 6.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4366, allocations: 0 / 0.6009 GB, free: 6.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001191/0.4378, allocations: 303.9 kB / 0.6012 GB, free: 6.566 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.002479/0.4403, allocations: 1.973 MB / 0.6031 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.4426, allocations: 1.419 MB / 0.6045 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4426, allocations: 4 kB / 0.6045 GB, free: 3.082 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.4432, allocations: 383.4 kB / 0.6049 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.4441, allocations: 181 kB / 0.605 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.4604, allocations: 10.35 MB / 0.6151 GB, free: 7.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008484/0.4613, allocations: 0.646 MB / 0.6158 GB, free: 6.816 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.4623, allocations: 412.7 kB / 0.6162 GB, free: 6.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/0.463, allocations: 471.3 kB / 0.6166 GB, free: 5.949 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.463, allocations: 0 / 0.6166 GB, free: 5.949 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.5218, allocations: 22.18 MB / 0.6383 GB, free: 68 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.87, allocations: 10.75 kB / 0.6383 GB, free: 60 kB / 478.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --stepSize=0.18 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.83939467999153]