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.001466/0.001466, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001653/0.001653, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.176/0.176, allocations: 38.53 MB / 353.2 MB, free: 12.54 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: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [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.002057/0.002057, allocations: 67.91 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.305, allocations: 62.47 MB / 0.5432 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008661/0.3136, allocations: 7.508 MB / 0.5506 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.317, allocations: 1.758 MB / 0.5523 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.318, allocations: 39.75 kB / 0.5523 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008944/0.3188, allocations: 237.9 kB / 0.5525 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3205, allocations: 0.5902 MB / 0.5531 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.321, allocations: 212.2 kB / 0.5533 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.3226, allocations: 1.262 MB / 0.5546 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.323, allocations: 225.7 kB / 0.5548 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009159/0.3239, allocations: 0.5709 MB / 0.5553 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009897/0.3249, allocations: 0.6722 MB / 0.556 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.325, allocations: 62.34 kB / 0.556 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3251, allocations: 67.47 kB / 0.5561 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.3255, allocations: 342.7 kB / 0.5564 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.326, allocations: 438 kB / 0.5569 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.3272, allocations: 0.9202 MB / 0.5578 GB, free: 5.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3272, allocations: 0 / 0.5578 GB, free: 5.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3272, allocations: 0 / 0.5578 GB, free: 5.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3272, allocations: 0 / 0.5578 GB, free: 5.523 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.002008/0.3292, allocations: 1.182 MB / 0.5589 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3292, allocations: 19.92 kB / 0.5589 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.3294, allocations: 96.33 kB / 0.559 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.3306, allocations: 0.6356 MB / 0.5596 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.3307, allocations: 45.25 kB / 0.5597 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3308, allocations: 67.98 kB / 0.5598 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.332, allocations: 0.806 MB / 0.5605 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.332, allocations: 3.938 kB / 0.5605 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.3321, allocations: 28 kB / 0.5606 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.3321, allocations: 33.3 kB / 0.5606 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/0.3331, allocations: 0.614 MB / 0.5612 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.3367, allocations: 2.594 MB / 0.5637 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/0.3376, allocations: 0.558 MB / 0.5643 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.3382, allocations: 327 kB / 0.5646 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3382, allocations: 12.44 kB / 0.5646 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006384/0.3388, allocations: 487.6 kB / 0.5651 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.114e-06/0.3388, allocations: 0 / 0.5651 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.002877/0.3417, allocations: 1.924 MB / 0.5669 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.3419, allocations: 251.8 kB / 0.5672 GB, free: 11.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.3425, allocations: 0.5625 MB / 0.5677 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.3426, allocations: 45.7 kB / 0.5678 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.3429, allocations: 412.3 kB / 0.5682 GB, free: 10.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.3431, allocations: 210.2 kB / 0.5684 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.3433, allocations: 150.6 kB / 0.5685 GB, free: 10.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3435, allocations: 386.8 kB / 0.5689 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.3439, allocations: 229.8 kB / 0.5691 GB, free: 9.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.3444, allocations: 449.8 kB / 0.5695 GB, free: 8.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000968/0.3454, allocations: 0.7964 MB / 0.5703 GB, free: 7.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3454, allocations: 0 / 0.5703 GB, free: 7.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001555/0.3469, allocations: 0.951 MB / 0.5712 GB, free: 7.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.347, allocations: 67.39 kB / 0.5713 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.347, allocations: 4 kB / 0.5713 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003858/0.3474, allocations: 117.5 kB / 0.5714 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.3478, allocations: 152 kB / 0.5716 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.3512, allocations: 3.348 MB / 0.5748 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.3516, allocations: 39.97 kB / 0.5749 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.3517, allocations: 51.97 kB / 0.5749 GB, free: 2.992 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.0004391/0.3521, allocations: 354.6 kB / 0.5753 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3522, allocations: 79.53 kB / 0.5753 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.3534, allocations: 0.7913 MB / 0.5761 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3534, allocations: 4 kB / 0.5761 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3534, allocations: 0 / 0.5761 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.3534, allocations: 7.984 kB / 0.5761 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.3556, allocations: 1.532 MB / 0.5776 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3556, allocations: 4 kB / 0.5776 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.3561, allocations: 107.9 kB / 0.5777 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.3561, allocations: 7.938 kB / 0.5777 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.3561, allocations: 16.23 kB / 0.5777 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.3562, allocations: 16.03 kB / 0.5778 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3562, allocations: 0 / 0.5778 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3577, allocations: 1.2 MB / 0.5789 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.358, allocations: 115.4 kB / 0.579 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/0.3581, allocations: 20 kB / 0.5791 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.3584, allocations: 27.97 kB / 0.5791 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.3585, allocations: 48.34 kB / 0.5791 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/0.3586, allocations: 59.86 kB / 0.5792 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004331/0.359, allocations: 391.1 kB / 0.5796 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.359, allocations: 3.938 kB / 0.5796 GB, free: 14.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006648/0.3597, allocations: 184 kB / 0.5797 GB, free: 13.9 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.000153/0.3598, allocations: 119.2 kB / 0.5799 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.3613, allocations: 0.9752 MB / 0.5808 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3613, allocations: 0 / 0.5808 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.3619, allocations: 426.6 kB / 0.5812 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/0.3626, allocations: 157.1 kB / 0.5814 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.3651, allocations: 1.636 MB / 0.583 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.3657, allocations: 1.016 MB / 0.584 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3659, allocations: 59.42 kB / 0.584 GB, free: 9.371 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3659, allocations: 4 kB / 0.584 GB, free: 9.367 MB / 430.1 MB Notification: Performance of Templates: time 0.01689/0.3828, allocations: 12.12 MB / 0.5959 GB, free: 13.26 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] 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: 8.673916501924396]