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.001406/0.001406, allocations: 115.9 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.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.002111/0.002111, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1764/0.1764, allocations: 38.52 MB / 352.4 MB, free: 12.54 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="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: 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.002366/0.002366, allocations: 71.88 kB / 492.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4006, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01394/0.4146, allocations: 9.133 MB / 0.5509 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006701/0.4213, allocations: 3.104 MB / 0.554 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.4224, allocations: 45.41 kB / 0.554 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003454/0.4258, allocations: 1.121 MB / 0.5551 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.4283, allocations: 0.6273 MB / 0.5557 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.4309, allocations: 0.7462 MB / 0.5564 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003502/0.4344, allocations: 1.619 MB / 0.558 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.4362, allocations: 0.6974 MB / 0.5587 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.4384, allocations: 0.751 MB / 0.5594 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.4404, allocations: 1.016 MB / 0.5604 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000542/0.441, allocations: 104 kB / 0.5605 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.4429, allocations: 0.5148 MB / 0.561 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.4439, allocations: 0.6701 MB / 0.5617 GB, free: 308 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.4455, allocations: 0.7075 MB / 0.5624 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.4484, allocations: 1.821 MB / 0.5642 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4484, allocations: 0 / 0.5642 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4484, allocations: 0 / 0.5642 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.4485, allocations: 0 / 0.5642 GB, free: 13.76 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.003277/0.4517, allocations: 1.624 MB / 0.5657 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.4518, allocations: 11.98 kB / 0.5658 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002249/0.452, allocations: 194.5 kB / 0.5659 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.4542, allocations: 391.6 kB / 0.5663 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.456, allocations: 0.8155 MB / 0.5671 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.456, allocations: 90.7 kB / 0.5672 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.4564, allocations: 151.8 kB / 0.5673 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.4591, allocations: 1.854 MB / 0.5692 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/0.4592, allocations: 11.89 kB / 0.5692 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4593, allocations: 52 kB / 0.5692 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002969/0.4596, allocations: 98.16 kB / 0.5693 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.462, allocations: 1.491 MB / 0.5708 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009686/0.4717, allocations: 8.187 MB / 0.5788 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.4729, allocations: 0.6643 MB / 0.5794 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.4735, allocations: 448.2 kB / 0.5798 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.83e-05/0.4736, allocations: 20.62 kB / 0.5799 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.4737, allocations: 43.22 kB / 0.5799 GB, free: 13.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.304e-06/0.4737, allocations: 0 / 0.5799 GB, free: 13.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.003832/0.4775, allocations: 2.392 MB / 0.5822 GB, free: 10.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.4776, allocations: 89.7 kB / 0.5823 GB, free: 10.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009367/0.4785, allocations: 0.8214 MB / 0.5831 GB, free: 9.645 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.4786, allocations: 41.7 kB / 0.5832 GB, free: 9.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.4791, allocations: 0.7021 MB / 0.5838 GB, free: 8.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.4793, allocations: 317.4 kB / 0.5841 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.4797, allocations: 267.5 kB / 0.5844 GB, free: 8.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.4799, allocations: 414.7 kB / 0.5848 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/0.4806, allocations: 451.7 kB / 0.5852 GB, free: 7.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.4817, allocations: 1.005 MB / 0.5862 GB, free: 6.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.4838, allocations: 1.585 MB / 0.5878 GB, free: 4.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.4838, allocations: 4 kB / 0.5878 GB, free: 4.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003185/0.487, allocations: 1.764 MB / 0.5895 GB, free: 2.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.487, allocations: 15.94 kB / 0.5895 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00177/0.4888, allocations: 0.9822 MB / 0.5905 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008493/0.4896, allocations: 250.3 kB / 0.5907 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4907, allocations: 311.5 kB / 0.591 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004943/0.4956, allocations: 4.866 MB / 0.5957 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/0.4964, allocations: 59.86 kB / 0.5958 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.4965, allocations: 71.98 kB / 0.5959 GB, free: 11.66 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.0006499/0.4971, allocations: 428 kB / 0.5963 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.4973, allocations: 107.3 kB / 0.5964 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.4988, allocations: 0.9532 MB / 0.5973 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.4988, allocations: 11.94 kB / 0.5973 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4988, allocations: 4 kB / 0.5973 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.4989, allocations: 3.984 kB / 0.5973 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.5026, allocations: 2.097 MB / 0.5994 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.5026, allocations: 4 kB / 0.5994 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.5035, allocations: 183.8 kB / 0.5996 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.5035, allocations: 4 kB / 0.5996 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.5035, allocations: 23.98 kB / 0.5996 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.5035, allocations: 7.938 kB / 0.5996 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5035, allocations: 4 kB / 0.5996 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.5055, allocations: 1.41 MB / 0.601 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.5057, allocations: 91.33 kB / 0.6011 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.5058, allocations: 27.98 kB / 0.6011 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.5061, allocations: 23.98 kB / 0.6011 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.5062, allocations: 52.5 kB / 0.6012 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/0.5063, allocations: 27.98 kB / 0.6012 GB, free: 6.098 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006617/0.507, allocations: 0.538 MB / 0.6017 GB, free: 5.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.507, allocations: 0 / 0.6017 GB, free: 5.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009848/0.5079, allocations: 292 kB / 0.602 GB, free: 5.273 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.002279/0.5102, allocations: 1.981 MB / 0.6039 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.5125, allocations: 1.412 MB / 0.6053 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5125, allocations: 192 / 0.6053 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.5131, allocations: 383.4 kB / 0.6057 GB, free: 1.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.5139, allocations: 190.8 kB / 0.6059 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.5297, allocations: 10.35 MB / 0.616 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.5307, allocations: 1.247 MB / 0.6172 GB, free: 4.922 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.5318, allocations: 420.7 kB / 0.6176 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006795/0.5325, allocations: 471.3 kB / 0.618 GB, free: 4.047 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5325, allocations: 0 / 0.618 GB, free: 4.047 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06621/0.5987, allocations: 22.12 MB / 0.6396 GB, free: 14.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.75, allocations: 6.938 kB / 0.6396 GB, free: 14.09 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.60232169390656]