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.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.001379/0.001379, allocations: 125.2 kB / 17.79 MB, free: 5.121 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.001537/0.001537, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.427/1.427, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2029/0.2029, allocations: 38.52 MB / 342.5 MB, free: 8.082 MB / 270.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-master/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 68.36 kB / 478.6 MB, free: 33.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 61.25 MB / 0.5272 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01264/0.1338, allocations: 9.013 MB / 0.536 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007275/0.141, allocations: 3.049 MB / 0.539 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1421, allocations: 35.81 kB / 0.539 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.1453, allocations: 1.101 MB / 0.5401 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.1474, allocations: 0.6219 MB / 0.5407 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.1497, allocations: 0.7288 MB / 0.5414 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.1521, allocations: 1.629 MB / 0.543 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.1533, allocations: 0.7063 MB / 0.5437 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.1552, allocations: 0.7392 MB / 0.5444 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.157, allocations: 1.001 MB / 0.5454 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.1572, allocations: 104 kB / 0.5455 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1584, allocations: 487.2 kB / 0.546 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007504/0.1592, allocations: 0.6701 MB / 0.5466 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008944/0.1601, allocations: 0.7153 MB / 0.5473 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.1626, allocations: 1.782 MB / 0.5491 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1626, allocations: 0 / 0.5491 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1626, allocations: 4 kB / 0.5491 GB, free: 10.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.787e-05/0.1626, allocations: 0 / 0.5491 GB, free: 10.91 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.003658/0.1663, allocations: 1.676 MB / 0.5507 GB, free: 9.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/0.1663, allocations: 15.89 kB / 0.5507 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002623/0.1666, allocations: 198.4 kB / 0.5509 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.1684, allocations: 279.8 kB / 0.5512 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.1704, allocations: 0.9032 MB / 0.5521 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/0.1705, allocations: 90.66 kB / 0.5522 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.1708, allocations: 151.8 kB / 0.5523 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/0.1737, allocations: 1.854 MB / 0.5541 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.1738, allocations: 7.938 kB / 0.5541 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.1739, allocations: 55.98 kB / 0.5542 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000293/0.1742, allocations: 94.16 kB / 0.5543 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.1766, allocations: 1.495 MB / 0.5557 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009966/0.1866, allocations: 8.27 MB / 0.5638 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.188, allocations: 1.119 MB / 0.5649 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006894/0.1887, allocations: 448.2 kB / 0.5653 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.1888, allocations: 12.64 kB / 0.5653 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.1888, allocations: 47.16 kB / 0.5654 GB, free: 9.445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.644e-06/0.1888, allocations: 0 / 0.5654 GB, free: 9.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.003971/0.1928, allocations: 2.468 MB / 0.5678 GB, free: 6.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.1929, allocations: 93.64 kB / 0.5679 GB, free: 6.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.1939, allocations: 0.8292 MB / 0.5687 GB, free: 5.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.1939, allocations: 33.7 kB / 0.5687 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.1944, allocations: 0.7021 MB / 0.5694 GB, free: 5.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.1947, allocations: 321.3 kB / 0.5697 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.195, allocations: 259.6 kB / 0.57 GB, free: 4.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.1952, allocations: 422.7 kB / 0.5704 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/0.1959, allocations: 455.7 kB / 0.5708 GB, free: 3.781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.1971, allocations: 1.001 MB / 0.5718 GB, free: 2.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.1991, allocations: 1.581 MB / 0.5733 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.1991, allocations: 8 kB / 0.5733 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003211/0.2023, allocations: 1.756 MB / 0.575 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2023, allocations: 12 kB / 0.575 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001892/0.2042, allocations: 0.986 MB / 0.576 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009216/0.2052, allocations: 246.4 kB / 0.5762 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.2063, allocations: 315.5 kB / 0.5765 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.2119, allocations: 5.18 MB / 0.5816 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.2129, allocations: 59.94 kB / 0.5817 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.213, allocations: 67.98 kB / 0.5817 GB, free: 7.617 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.0007652/0.2138, allocations: 429.2 kB / 0.5821 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.214, allocations: 103.3 kB / 0.5822 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.2157, allocations: 0.9531 MB / 0.5832 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.2157, allocations: 11.94 kB / 0.5832 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2157, allocations: 4 kB / 0.5832 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.2157, allocations: 3.984 kB / 0.5832 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.2202, allocations: 2.129 MB / 0.5853 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.2203, allocations: 0 / 0.5853 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009231/0.2212, allocations: 183.8 kB / 0.5854 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.2212, allocations: 8 kB / 0.5854 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.2213, allocations: 23.98 kB / 0.5855 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.2213, allocations: 4 kB / 0.5855 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2213, allocations: 0 / 0.5855 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.2234, allocations: 1.422 MB / 0.5869 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.2238, allocations: 160.5 kB / 0.587 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.224, allocations: 27.98 kB / 0.587 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.2244, allocations: 27.98 kB / 0.5871 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.2245, allocations: 60.55 kB / 0.5871 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.2245, allocations: 24 kB / 0.5871 GB, free: 1.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008197/0.2254, allocations: 0.538 MB / 0.5877 GB, free: 1.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2254, allocations: 0 / 0.5877 GB, free: 1.379 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001248/0.2266, allocations: 296 kB / 0.588 GB, free: 1.09 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.00253/0.2291, allocations: 1.984 MB / 0.5899 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002625/0.2318, allocations: 1.412 MB / 0.5913 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.2318, allocations: 0 / 0.5913 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.2324, allocations: 383.4 kB / 0.5916 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.2334, allocations: 189.6 kB / 0.5918 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.2502, allocations: 10.31 MB / 0.6019 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.2512, allocations: 1.247 MB / 0.6031 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.2522, allocations: 420.6 kB / 0.6035 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/0.2528, allocations: 467.4 kB / 0.604 GB, free: 15.9 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2528, allocations: 0 / 0.604 GB, free: 15.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.272/0.5248, allocations: 21.11 MB / 0.6246 GB, free: 87.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.62, allocations: 18.19 kB / 0.6246 GB, free: 87.28 MB / 478.1 MB " [Timeout remaining time 647] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.569063569884747]