Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001292/0.001292, 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.001525/0.001525, allocations: 211.9 kB / 24.51 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.1851/0.1851, 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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.002047/0.002047, allocations: 63.89 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 62.47 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007175/0.3476, allocations: 5.29 MB / 0.5479 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3499, allocations: 1.278 MB / 0.5491 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.3501, allocations: 27.75 kB / 0.5491 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.3506, allocations: 124.5 kB / 0.5493 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008943/0.3515, allocations: 378.6 kB / 0.5496 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.3518, allocations: 139.3 kB / 0.5498 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.3526, allocations: 0.75 MB / 0.5505 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.3529, allocations: 137.2 kB / 0.5506 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005492/0.3534, allocations: 355 kB / 0.551 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006413/0.3541, allocations: 399.7 kB / 0.5513 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.3541, allocations: 39.97 kB / 0.5514 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.3542, allocations: 36.56 kB / 0.5514 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.3545, allocations: 203.9 kB / 0.5516 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.3547, allocations: 206.1 kB / 0.5518 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.3554, allocations: 0.5332 MB / 0.5523 GB, free: 9.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3554, allocations: 0 / 0.5523 GB, free: 9.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3554, allocations: 0 / 0.5523 GB, free: 9.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3554, allocations: 1.25 kB / 0.5523 GB, free: 9.133 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001477/0.3569, allocations: 0.74 MB / 0.553 GB, free: 8.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3569, allocations: 13.67 kB / 0.5531 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.943e-05/0.357, allocations: 14.75 kB / 0.5531 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.3571, allocations: 81.48 kB / 0.5531 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.3572, allocations: 57.81 kB / 0.5532 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/0.358, allocations: 427.3 kB / 0.5536 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.3581, allocations: 32.09 kB / 0.5536 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.3582, allocations: 41.05 kB / 0.5537 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.359, allocations: 0.4936 MB / 0.5542 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.359, allocations: 1.062 kB / 0.5542 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.359, allocations: 16.41 kB / 0.5542 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.3591, allocations: 26.53 kB / 0.5542 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.3597, allocations: 362.9 kB / 0.5546 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.3625, allocations: 1.911 MB / 0.5564 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.3629, allocations: 221.2 kB / 0.5566 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.3632, allocations: 123.6 kB / 0.5567 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3632, allocations: 0 / 0.5567 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3632, allocations: 42.5 kB / 0.5568 GB, free: 5.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.3632, allocations: 0 / 0.5568 GB, free: 5.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001307/0.3645, allocations: 0.6926 MB / 0.5575 GB, free: 4.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.3646, allocations: 85.05 kB / 0.5575 GB, free: 4.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.365, allocations: 381.5 kB / 0.5579 GB, free: 4.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.365, allocations: 25.83 kB / 0.5579 GB, free: 4.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.3653, allocations: 303.7 kB / 0.5582 GB, free: 4.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.693e-05/0.3654, allocations: 91.25 kB / 0.5583 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3655, allocations: 78.09 kB / 0.5584 GB, free: 3.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3657, allocations: 346.8 kB / 0.5587 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3659, allocations: 88.81 kB / 0.5588 GB, free: 3.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.3662, allocations: 273.2 kB / 0.5591 GB, free: 3.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.3667, allocations: 404.4 kB / 0.5594 GB, free: 2.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3667, allocations: 0 / 0.5594 GB, free: 2.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007609/0.3674, allocations: 464.1 kB / 0.5599 GB, free: 2.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3674, allocations: 11.12 kB / 0.5599 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.3675, allocations: 7.938 kB / 0.5599 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.3677, allocations: 52.83 kB / 0.56 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.3679, allocations: 83.84 kB / 0.56 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.3696, allocations: 1.503 MB / 0.5615 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3698, allocations: 23.98 kB / 0.5615 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.3699, allocations: 20 kB / 0.5615 GB, free: 300 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000279/0.3701, allocations: 200.5 kB / 0.5617 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.3702, allocations: 43.66 kB / 0.5618 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.3707, allocations: 237.2 kB / 0.562 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3707, allocations: 4 kB / 0.562 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.3707, allocations: 0 / 0.562 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3707, allocations: 3.984 kB / 0.562 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3717, allocations: 0.6477 MB / 0.5626 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3717, allocations: 0 / 0.5626 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.372, allocations: 47.91 kB / 0.5627 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.372, allocations: 4 kB / 0.5627 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.372, allocations: 4 kB / 0.5627 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.372, allocations: 4 kB / 0.5627 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.372, allocations: 0 / 0.5627 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.3726, allocations: 437.4 kB / 0.5631 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3727, allocations: 55.89 kB / 0.5632 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3728, allocations: 0 / 0.5632 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3729, allocations: 8 kB / 0.5632 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3729, allocations: 19.97 kB / 0.5632 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.373, allocations: 4 kB / 0.5632 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003518/0.3733, allocations: 263.1 kB / 0.5635 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3733, allocations: 0 / 0.5635 GB, free: 14.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.3738, allocations: 84 kB / 0.5635 GB, free: 14.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0009523/0.3748, allocations: 0.9644 MB / 0.5645 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007459/0.3755, allocations: 375.6 kB / 0.5648 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3755, allocations: 0 / 0.5648 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.3757, allocations: 76.28 kB / 0.5649 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.3763, allocations: 107.5 kB / 0.565 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.3815, allocations: 3.72 MB / 0.5686 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3818, allocations: 266 kB / 0.5689 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002509/0.3821, allocations: 72.16 kB / 0.569 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.3823, allocations: 155.4 kB / 0.5691 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3823, allocations: 3.938 kB / 0.5691 GB, free: 8.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.416, allocations: 8.158 MB / 0.5771 GB, free: 168 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.96, allocations: 7.344 kB / 0.5771 GB, free: 164 kB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.989948385045864]