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.001339/0.001339, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001491/0.001491, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.1824/0.1824, allocations: 38.52 MB / 352.5 MB, free: 12.52 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.002013/0.002013, allocations: 67.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2878, allocations: 62.46 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006883/0.2947, allocations: 5.673 MB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.297, allocations: 1.369 MB / 0.5489 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.2972, allocations: 27.12 kB / 0.5489 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.2976, allocations: 134.9 kB / 0.549 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007857/0.2984, allocations: 378.1 kB / 0.5494 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2987, allocations: 142.2 kB / 0.5495 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007927/0.2995, allocations: 0.7523 MB / 0.5503 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.2997, allocations: 132.2 kB / 0.5504 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000508/0.3002, allocations: 351.4 kB / 0.5507 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.3008, allocations: 399.6 kB / 0.5511 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-05/0.3009, allocations: 35.5 kB / 0.5511 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.144e-05/0.3009, allocations: 40.69 kB / 0.5512 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.3012, allocations: 203.1 kB / 0.5514 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.3014, allocations: 250 kB / 0.5516 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.302, allocations: 0.5316 MB / 0.5521 GB, free: 8.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.302, allocations: 0.9688 kB / 0.5521 GB, free: 8.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.302, allocations: 0 / 0.5521 GB, free: 8.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.302, allocations: 0 / 0.5521 GB, free: 8.754 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.001305/0.3033, allocations: 0.7328 MB / 0.5528 GB, free: 8.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3034, allocations: 13.55 kB / 0.5529 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.671e-05/0.3035, allocations: 80.77 kB / 0.5529 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.115e-05/0.3036, allocations: 58.53 kB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.3044, allocations: 426.3 kB / 0.5534 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.3044, allocations: 29 kB / 0.5534 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.3044, allocations: 41.17 kB / 0.5535 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007581/0.3052, allocations: 0.4983 MB / 0.5539 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3052, allocations: 5.062 kB / 0.554 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.3053, allocations: 20.38 kB / 0.554 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.3053, allocations: 21.73 kB / 0.554 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.3059, allocations: 367.3 kB / 0.5543 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.3084, allocations: 2.031 MB / 0.5563 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.3088, allocations: 230.8 kB / 0.5565 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3091, allocations: 117.1 kB / 0.5567 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3091, allocations: 2.375 kB / 0.5567 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3091, allocations: 35.69 kB / 0.5567 GB, free: 5.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.3091, allocations: 1.125 kB / 0.5567 GB, free: 5.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001209/0.3103, allocations: 0.6989 MB / 0.5574 GB, free: 4.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.3104, allocations: 85.05 kB / 0.5575 GB, free: 4.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.3108, allocations: 377.5 kB / 0.5578 GB, free: 3.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3108, allocations: 33.7 kB / 0.5579 GB, free: 3.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.311, allocations: 295.9 kB / 0.5581 GB, free: 3.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.3111, allocations: 91.25 kB / 0.5582 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3112, allocations: 78.09 kB / 0.5583 GB, free: 3.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3114, allocations: 346.8 kB / 0.5586 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3116, allocations: 88.81 kB / 0.5587 GB, free: 3.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.3119, allocations: 281.2 kB / 0.559 GB, free: 2.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.3123, allocations: 396.5 kB / 0.5594 GB, free: 2.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3123, allocations: 0 / 0.5594 GB, free: 2.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007482/0.3131, allocations: 460.2 kB / 0.5598 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3131, allocations: 10.66 kB / 0.5598 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3131, allocations: 8 kB / 0.5598 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/0.3133, allocations: 52.83 kB / 0.5599 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.3136, allocations: 79.84 kB / 0.5599 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3151, allocations: 1.518 MB / 0.5614 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.3153, allocations: 20 kB / 0.5614 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.3153, allocations: 20 kB / 0.5615 GB, free: 15.89 MB / 414.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.0002903/0.3156, allocations: 205.7 kB / 0.5617 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.3157, allocations: 43.66 kB / 0.5617 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.316, allocations: 241.1 kB / 0.5619 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.316, allocations: 4 kB / 0.5619 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.316, allocations: 0 / 0.5619 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3161, allocations: 0 / 0.5619 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.317, allocations: 0.6699 MB / 0.5626 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.317, allocations: 0 / 0.5626 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.3173, allocations: 51.91 kB / 0.5626 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3173, allocations: 0 / 0.5626 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3174, allocations: 4 kB / 0.5626 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3174, allocations: 3.938 kB / 0.5626 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3174, allocations: 4 kB / 0.5626 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.3179, allocations: 437.5 kB / 0.5631 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.318, allocations: 47.73 kB / 0.5631 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.318, allocations: 8 kB / 0.5631 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3182, allocations: 4 kB / 0.5631 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3182, allocations: 15.97 kB / 0.5631 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3182, allocations: 4 kB / 0.5631 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.3185, allocations: 263.2 kB / 0.5634 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3185, allocations: 0 / 0.5634 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.3189, allocations: 87.94 kB / 0.5635 GB, free: 13.73 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.0008168/0.3197, allocations: 0.9606 MB / 0.5644 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.3203, allocations: 371.8 kB / 0.5648 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3204, allocations: 8.062 kB / 0.5648 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3205, allocations: 79.84 kB / 0.5649 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.3211, allocations: 97.36 kB / 0.5649 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.3258, allocations: 3.722 MB / 0.5686 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.3263, allocations: 0.8584 MB / 0.5694 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.3266, allocations: 80.14 kB / 0.5695 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.3268, allocations: 155.4 kB / 0.5696 GB, free: 7.066 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3268, allocations: 0 / 0.5696 GB, free: 7.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.3663, allocations: 7.976 MB / 0.5774 GB, free: 15.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.44, allocations: 7.5 kB / 0.5774 GB, free: 15.23 MB / 430.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.179188271984458]