Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001736/0.001736, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002276/0.002276, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.552/1.552, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.1903/0.1903, allocations: 38.51 MB / 349.4 MB, free: 2.59 MB / 270.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.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",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.001976/0.001976, allocations: 63.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.126, allocations: 62.42 MB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01145/0.1375, allocations: 9.187 MB / 0.5463 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.1441, allocations: 3.439 MB / 0.5497 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.1453, allocations: 43.62 kB / 0.5497 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.1485, allocations: 1.066 MB / 0.5508 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.1513, allocations: 1.109 MB / 0.5519 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.1533, allocations: 0.6977 MB / 0.5525 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.1566, allocations: 2.378 MB / 0.5549 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1576, allocations: 0.6434 MB / 0.5555 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.1594, allocations: 1.02 MB / 0.5565 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.1615, allocations: 1.453 MB / 0.5579 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.1618, allocations: 128 kB / 0.558 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.1632, allocations: 0.6319 MB / 0.5586 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.1642, allocations: 0.9389 MB / 0.5596 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.1653, allocations: 0.9018 MB / 0.5604 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.1684, allocations: 2.37 MB / 0.5628 GB, free: 13.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1684, allocations: 0 / 0.5628 GB, free: 13.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1684, allocations: 0 / 0.5628 GB, free: 13.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.441e-05/0.1684, allocations: 3.938 kB / 0.5628 GB, free: 13.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.003897/0.1723, allocations: 2.075 MB / 0.5648 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1724, allocations: 12.03 kB / 0.5648 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.26e-05/0.1724, allocations: 38.94 kB / 0.5648 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003044/0.1727, allocations: 236.8 kB / 0.5651 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.1753, allocations: 479.2 kB / 0.5655 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.1775, allocations: 1.079 MB / 0.5666 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.1776, allocations: 110.8 kB / 0.5667 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/0.1779, allocations: 156 kB / 0.5668 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/0.1817, allocations: 2.328 MB / 0.5691 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/0.1818, allocations: 15.89 kB / 0.5691 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.1819, allocations: 59.97 kB / 0.5692 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005781/0.1825, allocations: 226.8 kB / 0.5694 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.1858, allocations: 1.85 MB / 0.5712 GB, free: 4.48 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.1984, allocations: 9.538 MB / 0.5805 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.2009, allocations: 1.458 MB / 0.5819 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009318/0.2018, allocations: 0.5479 MB / 0.5825 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.971e-05/0.2019, allocations: 24.92 kB / 0.5825 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.2033, allocations: 0.849 MB / 0.5833 GB, free: 7.457 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.367e-06/0.2033, allocations: 0 / 0.5833 GB, free: 7.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=131): time 0.006816/0.2101, allocations: 4.068 MB / 0.5873 GB, free: 3.289 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.2103, allocations: 290.3 kB / 0.5876 GB, free: 2.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.2115, allocations: 0.9147 MB / 0.5885 GB, free: 2.008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.337e-05/0.2115, allocations: 53.64 kB / 0.5885 GB, free: 1.949 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/0.2122, allocations: 0.7887 MB / 0.5893 GB, free: 1.148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000424/0.2127, allocations: 472.4 kB / 0.5897 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/0.2131, allocations: 331.4 kB / 0.59 GB, free: 364 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2133, allocations: 357.9 kB / 0.5904 GB, free: 0 / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2471/0.4604, allocations: 0.5747 MB / 0.591 GB, free: 50.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.4618, allocations: 1.173 MB / 0.5921 GB, free: 50.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.4643, allocations: 1.998 MB / 0.594 GB, free: 49.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/0.4643, allocations: 4.875 kB / 0.5941 GB, free: 49.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004686/0.469, allocations: 2.479 MB / 0.5965 GB, free: 48.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.4691, allocations: 72.22 kB / 0.5965 GB, free: 48.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003046/0.4721, allocations: 1.544 MB / 0.5981 GB, free: 47.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.4738, allocations: 0.5528 MB / 0.5986 GB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.475, allocations: 321.2 kB / 0.5989 GB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009831/0.4848, allocations: 9.46 MB / 0.6081 GB, free: 40.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.4859, allocations: 78.09 kB / 0.6082 GB, free: 40.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.486, allocations: 101.4 kB / 0.6083 GB, free: 40.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008455/0.4869, allocations: 0.5996 MB / 0.6089 GB, free: 40.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.4871, allocations: 135.9 kB / 0.609 GB, free: 40.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.4895, allocations: 1.537 MB / 0.6105 GB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.4895, allocations: 12.72 kB / 0.6105 GB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4895, allocations: 1.469 kB / 0.6105 GB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.4895, allocations: 7.781 kB / 0.6105 GB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.4942, allocations: 3.075 MB / 0.6135 GB, free: 38.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4942, allocations: 2.25 kB / 0.6135 GB, free: 38.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.4955, allocations: 299.8 kB / 0.6138 GB, free: 38.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.4955, allocations: 9.594 kB / 0.6138 GB, free: 38.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/0.4955, allocations: 47.31 kB / 0.6139 GB, free: 38.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.4956, allocations: 3.906 kB / 0.6139 GB, free: 38.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4956, allocations: 7.844 kB / 0.6139 GB, free: 38.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.4981, allocations: 2.331 MB / 0.6162 GB, free: 37.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.4986, allocations: 293.4 kB / 0.6165 GB, free: 36.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.4987, allocations: 40 kB / 0.6165 GB, free: 36.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.4992, allocations: 38.7 kB / 0.6165 GB, free: 36.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.4994, allocations: 78.28 kB / 0.6166 GB, free: 36.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.4995, allocations: 80.14 kB / 0.6167 GB, free: 36.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000616/0.5001, allocations: 0.6057 MB / 0.6173 GB, free: 36.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5001, allocations: 0 / 0.6173 GB, free: 36.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001277/0.5014, allocations: 424.7 kB / 0.6177 GB, free: 36.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.002565/0.5039, allocations: 2.922 MB / 0.6205 GB, free: 34.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.5066, allocations: 2.252 MB / 0.6227 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5066, allocations: 1.812 kB / 0.6227 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007311/0.5074, allocations: 0.7774 MB / 0.6235 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.5083, allocations: 230.9 kB / 0.6237 GB, free: 32.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.5218, allocations: 13.11 MB / 0.6365 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/0.5225, allocations: 1.467 MB / 0.6379 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008753/0.5234, allocations: 466.3 kB / 0.6384 GB, free: 16.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.5239, allocations: 0.5773 MB / 0.639 GB, free: 16.04 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5239, allocations: 0 / 0.639 GB, free: 16.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.5855, allocations: 27.59 MB / 0.6659 GB, free: 4.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.3, allocations: 20 kB / 0.6659 GB, free: 4.641 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.3387325250078] Failed to read output from testmodel.py, exit status != 0: 13.460803657013457 13.477702003 13.30589038 Calling exit ...