Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.001764/0.001764, allocations: 113.2 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.002109/0.002109, allocations: 212.9 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.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.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",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.001996/0.001996, allocations: 67.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008791/0.3162, allocations: 7.506 MB / 0.5493 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.3195, allocations: 1.77 MB / 0.5511 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005019/0.32, allocations: 40.75 kB / 0.5511 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.3207, allocations: 236.1 kB / 0.5513 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.3223, allocations: 0.5865 MB / 0.5519 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.3228, allocations: 220.5 kB / 0.5521 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.3244, allocations: 1.259 MB / 0.5533 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.3248, allocations: 225.2 kB / 0.5536 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.3259, allocations: 0.5712 MB / 0.5541 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.3272, allocations: 0.6645 MB / 0.5548 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.3273, allocations: 62.25 kB / 0.5548 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.3275, allocations: 67.81 kB / 0.5549 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.3278, allocations: 346.6 kB / 0.5552 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.3284, allocations: 436.8 kB / 0.5556 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.3296, allocations: 0.9193 MB / 0.5565 GB, free: 5.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3296, allocations: 0 / 0.5565 GB, free: 5.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3296, allocations: 0 / 0.5565 GB, free: 5.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.3296, allocations: 1.125 kB / 0.5565 GB, free: 5.562 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002186/0.3318, allocations: 1.176 MB / 0.5577 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3318, allocations: 15.98 kB / 0.5577 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.3319, allocations: 118.6 kB / 0.5578 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.3321, allocations: 96.33 kB / 0.5579 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3334, allocations: 0.6392 MB / 0.5585 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.3334, allocations: 49.3 kB / 0.5586 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3335, allocations: 63.98 kB / 0.5586 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3348, allocations: 0.8099 MB / 0.5594 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.3348, allocations: 3.938 kB / 0.5594 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.3349, allocations: 24 kB / 0.5595 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/0.3349, allocations: 37.3 kB / 0.5595 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009886/0.3359, allocations: 0.6101 MB / 0.5601 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.3395, allocations: 2.59 MB / 0.5626 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.3404, allocations: 0.5551 MB / 0.5632 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.341, allocations: 335 kB / 0.5635 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.341, allocations: 4.438 kB / 0.5635 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006184/0.3417, allocations: 487.7 kB / 0.5639 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 1.763e-06/0.3417, allocations: 0 / 0.5639 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.00301/0.3447, allocations: 1.92 MB / 0.5658 GB, free: 11.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/0.3449, allocations: 255.9 kB / 0.5661 GB, free: 11.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.3455, allocations: 0.5664 MB / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.3456, allocations: 41.7 kB / 0.5667 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.3459, allocations: 408.3 kB / 0.567 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.3461, allocations: 214.2 kB / 0.5672 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.3463, allocations: 150.6 kB / 0.5674 GB, free: 10.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.3465, allocations: 386.8 kB / 0.5678 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.3469, allocations: 221.9 kB / 0.568 GB, free: 9.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.3474, allocations: 457.8 kB / 0.5684 GB, free: 8.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009543/0.3484, allocations: 0.7963 MB / 0.5692 GB, free: 7.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.3484, allocations: 8 kB / 0.5692 GB, free: 7.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001629/0.35, allocations: 0.951 MB / 0.5701 GB, free: 6.965 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.3501, allocations: 63.39 kB / 0.5702 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.3501, allocations: 11.94 kB / 0.5702 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.3505, allocations: 113.6 kB / 0.5703 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.351, allocations: 143.7 kB / 0.5704 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/0.3544, allocations: 3.344 MB / 0.5737 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.3549, allocations: 39.97 kB / 0.5737 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.494e-05/0.3549, allocations: 59.89 kB / 0.5738 GB, free: 2.949 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004809/0.3554, allocations: 350.7 kB / 0.5741 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3555, allocations: 75.53 kB / 0.5742 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.3567, allocations: 0.7952 MB / 0.575 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3567, allocations: 8 kB / 0.575 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.3567, allocations: 0 / 0.575 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3567, allocations: 3.984 kB / 0.575 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.359, allocations: 1.54 MB / 0.5765 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.359, allocations: 192 / 0.5765 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/0.3595, allocations: 111.9 kB / 0.5766 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.3595, allocations: 7.938 kB / 0.5766 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.3596, allocations: 16 kB / 0.5766 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.3596, allocations: 7.984 kB / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3596, allocations: 4.094 kB / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3612, allocations: 1.2 MB / 0.5778 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.3615, allocations: 115.4 kB / 0.5779 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.3615, allocations: 16 kB / 0.5779 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.3619, allocations: 36.03 kB / 0.578 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.3619, allocations: 36.38 kB / 0.578 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.356e-05/0.362, allocations: 63.86 kB / 0.5781 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004493/0.3625, allocations: 391.1 kB / 0.5784 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3625, allocations: 0 / 0.5784 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.3632, allocations: 176 kB / 0.5786 GB, free: 13.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.00198/0.3652, allocations: 1.775 MB / 0.5803 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.3667, allocations: 0.9725 MB / 0.5813 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3667, allocations: 0 / 0.5813 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.3672, allocations: 437.1 kB / 0.5817 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.368, allocations: 161 kB / 0.5819 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008622/0.3766, allocations: 6.303 MB / 0.588 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.3774, allocations: 1.009 MB / 0.589 GB, free: 2.754 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.3778, allocations: 145.9 kB / 0.5891 GB, free: 2.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/0.3782, allocations: 287.3 kB / 0.5894 GB, free: 2.328 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3782, allocations: 3.938 kB / 0.5894 GB, free: 2.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05581/0.4341, allocations: 14.76 MB / 0.6038 GB, free: 3.754 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.24, allocations: 3.766 kB / 0.6038 GB, free: 3.754 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.102889188798144]