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.00117/0.00117, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001027/0.001027, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8795/0.8795, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2015/0.2015, allocations: 29.41 MB / 290.1 MB, free: 2.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.843e-05, allocations: 10.22 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.005481/0.005499, allocations: 6.881 MB / 437.1 MB, free: 6.691 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.007612, allocations: 1.671 MB / 438.8 MB, free: 5.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.007906, allocations: 39.62 kB / 438.8 MB, free: 4.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.008391, allocations: 226.3 kB / 439 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008609/0.009252, allocations: 0.6022 MB / 439.6 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.00957, allocations: 215.6 kB / 439.8 MB, free: 3.938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009151/0.01048, allocations: 1.289 MB / 441.1 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.01075, allocations: 223 kB / 441.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009775/0.01173, allocations: 0.7477 MB / 442.1 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.01231, allocations: 0.6038 MB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.628e-05/0.01239, allocations: 64 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.01251, allocations: 64 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.01275, allocations: 362.9 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.01295, allocations: 287.3 kB / 443.5 MB, free: 308 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1509/0.1638, allocations: 0.9184 MB / 444.4 MB, free: 45.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1638, allocations: 0 / 444.4 MB, free: 45.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1638, allocations: 3.188 kB / 444.4 MB, free: 45.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.1638, allocations: 0 / 444.4 MB, free: 45.23 MB / 410.7 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.001121/0.165, allocations: 1.164 MB / 445.5 MB, free: 44.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.165, allocations: 14.17 kB / 445.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.1651, allocations: 114.2 kB / 445.7 MB, free: 44.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.1651, allocations: 98.98 kB / 445.8 MB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.1658, allocations: 0.6331 MB / 446.4 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1658, allocations: 45.12 kB / 446.4 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.1659, allocations: 65.28 kB / 446.5 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.1665, allocations: 0.8715 MB / 447.4 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1665, allocations: 2.062 kB / 447.4 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.1666, allocations: 28.88 kB / 447.4 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.1666, allocations: 32.08 kB / 447.4 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.1671, allocations: 0.6717 MB / 448.1 MB, free: 43.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.1687, allocations: 2.352 MB / 450.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.1693, allocations: 0.6169 MB / 451.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.1696, allocations: 396.9 kB / 451.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1696, allocations: 6.906 kB / 451.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.1699, allocations: 0.5341 MB / 452 MB, free: 42.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.313e-06/0.1699, allocations: 0 / 452 MB, free: 42.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001526/0.1714, allocations: 2.061 MB / 454.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1715, allocations: 255.8 kB / 454.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.1718, allocations: 0.5749 MB / 454.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1718, allocations: 39.98 kB / 454.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1719, allocations: 408.8 kB / 455.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.172, allocations: 218.9 kB / 455.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.1721, allocations: 141.4 kB / 455.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.1721, allocations: 390.5 kB / 456.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1723, allocations: 277.8 kB / 456.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1726, allocations: 0.5002 MB / 456.8 MB, free: 39.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.173, allocations: 0.8017 MB / 457.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.173, allocations: 3.406 kB / 457.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008189/0.1738, allocations: 1.001 MB / 458.6 MB, free: 38.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.1739, allocations: 61.22 kB / 458.7 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1739, allocations: 6.531 kB / 458.7 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.1741, allocations: 116 kB / 458.8 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.1743, allocations: 143.3 kB / 459 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.1756, allocations: 3.342 MB / 462.3 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.1758, allocations: 33.84 kB / 462.3 MB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.1758, allocations: 56.36 kB / 462.4 MB, free: 35.34 MB / 410.7 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.0001961/0.176, allocations: 348.4 kB / 462.7 MB, free: 35.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.176, allocations: 84.94 kB / 462.8 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.1766, allocations: 0.8616 MB / 463.7 MB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1766, allocations: 6.062 kB / 463.7 MB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.1766, allocations: 0 / 463.7 MB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1766, allocations: 11.97 kB / 463.7 MB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1778, allocations: 1.543 MB / 465.2 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1778, allocations: 0 / 465.2 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.178, allocations: 114.3 kB / 465.3 MB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.178, allocations: 6.562 kB / 465.4 MB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.1781, allocations: 17.28 kB / 465.4 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1781, allocations: 6.469 kB / 465.4 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1781, allocations: 3.156 kB / 465.4 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.1789, allocations: 1.336 MB / 466.7 MB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.179, allocations: 109.6 kB / 466.8 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.179, allocations: 17.28 kB / 466.8 MB, free: 33.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.1792, allocations: 34.44 kB / 466.9 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.1793, allocations: 49.12 kB / 466.9 MB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.1793, allocations: 57.2 kB / 467 MB, free: 33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002084/0.1795, allocations: 389.1 kB / 467.4 MB, free: 32.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1795, allocations: 0 / 467.4 MB, free: 32.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.1799, allocations: 179.1 kB / 467.5 MB, free: 32.82 MB / 410.7 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.0009363/0.1808, allocations: 1.89 MB / 469.4 MB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007419/0.1816, allocations: 1.096 MB / 470.5 MB, free: 30.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1816, allocations: 0 / 470.5 MB, free: 30.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.1818, allocations: 496.3 kB / 471 MB, free: 30.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1823, allocations: 168.6 kB / 471.2 MB, free: 30.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.1865, allocations: 6.51 MB / 477.7 MB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1867, allocations: 413.7 kB / 478.1 MB, free: 26.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002284/0.187, allocations: 153.3 kB / 478.2 MB, free: 26.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1871, allocations: 278.6 kB / 478.5 MB, free: 26.44 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1871, allocations: 7 kB / 478.5 MB, free: 26.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.2178, allocations: 15.35 MB / 493.9 MB, free: 24.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.682, allocations: 4.719 kB / 493.9 MB, free: 24.36 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","/var/lib/jenkins/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: 9.604992438107729]