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.001431/0.001431, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001862/0.001862, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1801/0.1801, allocations: 38.53 MB / 353.2 MB, free: 12.55 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.002281/0.002281, allocations: 59.91 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.331, allocations: 62.47 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01072/0.3417, allocations: 9.145 MB / 0.5517 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006767/0.3485, allocations: 3.1 MB / 0.5547 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008052/0.3493, allocations: 49.59 kB / 0.5548 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.3523, allocations: 1.106 MB / 0.5559 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.354, allocations: 0.636 MB / 0.5565 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.3561, allocations: 0.7505 MB / 0.5572 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.3583, allocations: 1.617 MB / 0.5588 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.3594, allocations: 0.6903 MB / 0.5595 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.3606, allocations: 0.7588 MB / 0.5602 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.3621, allocations: 1.001 MB / 0.5612 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.3622, allocations: 108 kB / 0.5613 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3632, allocations: 0.5148 MB / 0.5618 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.3639, allocations: 0.6779 MB / 0.5625 GB, free: 304 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007554/0.3646, allocations: 0.7075 MB / 0.5631 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.3667, allocations: 1.817 MB / 0.5649 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3667, allocations: 0 / 0.5649 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3667, allocations: 0 / 0.5649 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.3668, allocations: 0 / 0.5649 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.003093/0.3699, allocations: 1.62 MB / 0.5665 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3699, allocations: 11.98 kB / 0.5665 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.622e-05/0.3699, allocations: 34.53 kB / 0.5665 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.3702, allocations: 198.4 kB / 0.5667 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.3724, allocations: 391.6 kB / 0.5671 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.3743, allocations: 0.8116 MB / 0.5679 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/0.3743, allocations: 94.45 kB / 0.568 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.3747, allocations: 144 kB / 0.5681 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.3775, allocations: 1.854 MB / 0.5699 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.3775, allocations: 15.89 kB / 0.57 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.3777, allocations: 48 kB / 0.57 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003013/0.378, allocations: 98.16 kB / 0.5701 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.3804, allocations: 1.495 MB / 0.5716 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.3904, allocations: 8.187 MB / 0.5796 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.3916, allocations: 0.6604 MB / 0.5802 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.3923, allocations: 456.2 kB / 0.5806 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.654e-05/0.3924, allocations: 16.64 kB / 0.5806 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.3925, allocations: 47.16 kB / 0.5807 GB, free: 12.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.3925, allocations: 0 / 0.5807 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004129/0.3966, allocations: 2.4 MB / 0.583 GB, free: 10.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.3967, allocations: 93.7 kB / 0.5831 GB, free: 10.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.3978, allocations: 0.8214 MB / 0.5839 GB, free: 9.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.3978, allocations: 37.7 kB / 0.584 GB, free: 9.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.3984, allocations: 0.706 MB / 0.5847 GB, free: 8.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.3987, allocations: 313.4 kB / 0.585 GB, free: 8.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.3991, allocations: 267.5 kB / 0.5852 GB, free: 8.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.3993, allocations: 414.7 kB / 0.5856 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/0.4001, allocations: 447.7 kB / 0.586 GB, free: 7.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.4013, allocations: 1.005 MB / 0.587 GB, free: 6.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.4034, allocations: 1.585 MB / 0.5886 GB, free: 4.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.4034, allocations: 8 kB / 0.5886 GB, free: 4.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003306/0.4067, allocations: 1.76 MB / 0.5903 GB, free: 2.527 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.4067, allocations: 17 kB / 0.5903 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001791/0.4085, allocations: 0.9812 MB / 0.5913 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008748/0.4094, allocations: 250.3 kB / 0.5915 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.4104, allocations: 311.5 kB / 0.5918 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005121/0.4156, allocations: 4.874 MB / 0.5966 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.4166, allocations: 55.92 kB / 0.5966 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.4167, allocations: 71.98 kB / 0.5967 GB, free: 11.62 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.0007491/0.4175, allocations: 436.2 kB / 0.5971 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4176, allocations: 99.34 kB / 0.5972 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.4193, allocations: 0.9493 MB / 0.5981 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4193, allocations: 11.94 kB / 0.5981 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.4193, allocations: 0 / 0.5981 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4193, allocations: 7.984 kB / 0.5981 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/0.4234, allocations: 2.093 MB / 0.6002 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4234, allocations: 4 kB / 0.6002 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009635/0.4243, allocations: 187.8 kB / 0.6004 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.4243, allocations: 4 kB / 0.6004 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.4244, allocations: 23.98 kB / 0.6004 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.4244, allocations: 8 kB / 0.6004 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4244, allocations: 144 / 0.6004 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.4265, allocations: 1.41 MB / 0.6018 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.4267, allocations: 95.33 kB / 0.6019 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4269, allocations: 28.17 kB / 0.6019 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.4273, allocations: 23.98 kB / 0.6019 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4274, allocations: 60.47 kB / 0.602 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.4274, allocations: 27.98 kB / 0.602 GB, free: 6.051 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007526/0.4282, allocations: 0.5341 MB / 0.6025 GB, free: 5.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4282, allocations: 4 kB / 0.6025 GB, free: 5.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001155/0.4293, allocations: 300 kB / 0.6028 GB, free: 5.219 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.002382/0.4317, allocations: 1.973 MB / 0.6047 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.4341, allocations: 1.411 MB / 0.6061 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4341, allocations: 4 kB / 0.6061 GB, free: 1.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.4347, allocations: 379.4 kB / 0.6065 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009366/0.4356, allocations: 191.9 kB / 0.6067 GB, free: 1.191 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.4503, allocations: 10.34 MB / 0.6168 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.4513, allocations: 1.251 MB / 0.618 GB, free: 4.875 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4523, allocations: 412.7 kB / 0.6184 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006405/0.4529, allocations: 467.3 kB / 0.6188 GB, free: 4.012 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4529, allocations: 0 / 0.6188 GB, free: 4.012 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05838/0.5113, allocations: 22.16 MB / 0.6405 GB, free: 14.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.17, allocations: 8.422 kB / 0.6405 GB, free: 14.03 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: 17.234514645009767]