Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005677/0.005677, allocations: 102.1 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 239.4 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 192.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4821/0.4821, allocations: 91.89 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 79.97 kB / 0.5723 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1203, allocations: 71.28 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.007295/0.1276, allocations: 7.546 MB / 0.6492 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.132, allocations: 2.274 MB / 0.6514 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007317/0.1328, allocations: 12 kB / 0.6515 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.1334, allocations: 301.6 kB / 0.6517 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.1358, allocations: 1.048 MB / 0.6528 GB, free: 8.855 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1372, allocations: 0.6758 MB / 0.6534 GB, free: 8.188 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.1392, allocations: 1.869 MB / 0.6553 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004789/0.1397, allocations: 339.8 kB / 0.6556 GB, free: 5.961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009748/0.1407, allocations: 0.7625 MB / 0.6563 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009936/0.1417, allocations: 0.9919 MB / 0.6573 GB, free: 4.199 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.1419, allocations: 148 kB / 0.6574 GB, free: 4.055 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.1426, allocations: 387.7 kB / 0.6578 GB, free: 3.676 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.1429, allocations: 382.4 kB / 0.6582 GB, free: 3.301 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006373/0.1435, allocations: 0.7924 MB / 0.6589 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.1455, allocations: 2.006 MB / 0.6609 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1456, allocations: 3.984 kB / 0.6609 GB, free: 500 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1456, allocations: 3.938 kB / 0.6609 GB, free: 496 kB / 462.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.1456, allocations: 0 / 0.6609 GB, free: 496 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.01184/0.1574, allocations: 3.52 MB / 0.6643 GB, free: 12.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1575, allocations: 8.031 kB / 0.6644 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.1577, allocations: 147.2 kB / 0.6645 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004254/0.1619, allocations: 0.7238 MB / 0.6652 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.1635, allocations: 0.9703 MB / 0.6661 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.1639, allocations: 361.3 kB / 0.6665 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.1641, allocations: 96 kB / 0.6666 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.1664, allocations: 1.282 MB / 0.6678 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1665, allocations: 4 kB / 0.6678 GB, free: 9.199 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/0.1666, allocations: 36 kB / 0.6679 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.1666, allocations: 20 kB / 0.6679 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.169, allocations: 1.218 MB / 0.6691 GB, free: 7.922 MB / 478.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.007289/0.1763, allocations: 4.427 MB / 0.6734 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006796/0.1831, allocations: 2.513 MB / 0.6759 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.1848, allocations: 0.8523 MB / 0.6767 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.1849, allocations: 20.97 kB / 0.6767 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.185, allocations: 47.5 kB / 0.6768 GB, free: 15.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=111): time 3.026e-06/0.185, allocations: 4 kB / 0.6768 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=111): time 0.04582/0.2308, allocations: 11.34 MB / 0.6878 GB, free: 4.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.2309, allocations: 90.11 kB / 0.6879 GB, free: 4.254 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.2328, allocations: 1.184 MB / 0.6891 GB, free: 3.062 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.233, allocations: 49.7 kB / 0.6891 GB, free: 3.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.2334, allocations: 0.5407 MB / 0.6897 GB, free: 2.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.2338, allocations: 406.2 kB / 0.69 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005132/0.2343, allocations: 287.4 kB / 0.6903 GB, free: 1.773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.2344, allocations: 305.1 kB / 0.6906 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.2362, allocations: 0.8902 MB / 0.6915 GB, free: 0.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.238, allocations: 1.069 MB / 0.6925 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/0.2415, allocations: 1.96 MB / 0.6944 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.2416, allocations: 0 / 0.6944 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01597/0.2575, allocations: 5.32 MB / 0.6996 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.2576, allocations: 4 kB / 0.6996 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.2576, allocations: 7.938 kB / 0.6996 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008748/0.2664, allocations: 2.561 MB / 0.7021 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.2676, allocations: 243.6 kB / 0.7024 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005955/0.2736, allocations: 2.744 MB / 0.7051 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.2755, allocations: 202.5 kB / 0.7052 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/0.2758, allocations: 59.98 kB / 0.7053 GB, free: 2.273 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0006498/0.2765, allocations: 277.3 kB / 0.7056 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.2769, allocations: 142.2 kB / 0.7057 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/0.2916, allocations: 4.782 MB / 0.7104 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.2917, allocations: 12 kB / 0.7104 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.2917, allocations: 0 / 0.7104 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/0.2918, allocations: 7.969 kB / 0.7104 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.31, allocations: 6.527 MB / 0.7168 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.3101, allocations: 4 kB / 0.7168 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.3107, allocations: 111.8 kB / 0.7169 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007958/0.3187, allocations: 2.329 MB / 0.7192 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/0.319, allocations: 20 kB / 0.7192 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02542/0.3445, allocations: 10.76 MB / 0.7297 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3445, allocations: 4 kB / 0.7297 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/0.3619, allocations: 5.942 MB / 0.7355 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.3624, allocations: 247 kB / 0.7357 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004114/0.3629, allocations: 24 kB / 0.7357 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.3644, allocations: 107.9 kB / 0.7358 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008873/0.3653, allocations: 245 kB / 0.7361 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.3655, allocations: 31.98 kB / 0.7361 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00127/0.3667, allocations: 0.7935 MB / 0.7369 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3667, allocations: 0 / 0.7369 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001723/0.3685, allocations: 0.4956 MB / 0.7374 GB, free: 1.082 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01774/0.3862, allocations: 6.542 MB / 0.7438 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008211/0.3945, allocations: 2.636 MB / 0.7463 GB, free: 7.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.3945, allocations: 0 / 0.7463 GB, free: 7.867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005805/0.4003, allocations: 1.867 MB / 0.7482 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.402, allocations: 113.9 kB / 0.7483 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0459/0.4479, allocations: 18.94 MB / 0.7668 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008433/0.4488, allocations: 1.155 MB / 0.7679 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000555/0.4493, allocations: 116.5 kB / 0.768 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008408/0.4502, allocations: 0.5188 MB / 0.7685 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.4502, allocations: 0 / 0.7685 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/0.7918, allocations: 40.3 MB / 0.8079 GB, free: 95.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.91, allocations: 11.05 kB / 0.8079 GB, free: 95.87 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)