Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 229.6 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 97.95 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5221/0.5221, allocations: 78.07 MB / 409.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.651e-05, allocations: 7.938 kB / 485 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1652, allocations: 69.36 MB / 0.5414 GB, free: 6.781 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5247/0.69, allocations: 105.6 MB / 0.6445 GB, free: 9.832 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.6904, allocations: 85.12 kB / 0.6446 GB, free: 9.75 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSSE/TwoWindingTransformer.mo:52:3-52:54:writable] Notification: Moving binding to initial equation section and setting fixed attribute of twoWindingTransformer.t.re to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSSE/TwoWindingTransformer.mo:52:3-52:54:writable] Notification: Moving binding to initial equation section and setting fixed attribute of twoWindingTransformer.t.im to false. Notification: Performance of FrontEnd - DAE generated: time 0.1092/0.7996, allocations: 39.42 MB / 0.6831 GB, free: 2.336 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7996, allocations: 0 / 0.6831 GB, free: 2.336 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.179e-05/0.7997, allocations: 20 kB / 0.6831 GB, free: 2.316 MB / 490.7 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.005921/0.8056, allocations: 1.958 MB / 0.685 GB, free: 320 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/0.8057, allocations: 12.03 kB / 0.685 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.809, allocations: 0.521 MB / 0.6855 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.8109, allocations: 0.8349 MB / 0.6863 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004556/0.8114, allocations: 341.3 kB / 0.6867 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.8116, allocations: 55.86 kB / 0.6867 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001958/0.8136, allocations: 0.9724 MB / 0.6877 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.8155, allocations: 0.9648 MB / 0.6886 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.8155, allocations: 0 / 0.6886 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.8156, allocations: 0 / 0.6886 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.8156, allocations: 20 kB / 0.6886 GB, free: 12.48 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.009247/0.8249, allocations: 4.212 MB / 0.6928 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007945/0.8329, allocations: 2.721 MB / 0.6954 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009996/0.8339, allocations: 0.636 MB / 0.696 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.8341, allocations: 22.41 kB / 0.6961 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.8341, allocations: 51.81 kB / 0.6961 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=111): time 3.527e-06/0.8341, allocations: 0 / 0.6961 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111): time 0.0159/0.85, allocations: 4.926 MB / 0.7009 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.8501, allocations: 94.41 kB / 0.701 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.8518, allocations: 0.9036 MB / 0.7019 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/0.852, allocations: 25.7 kB / 0.7019 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.8525, allocations: 0.5686 MB / 0.7025 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004423/0.8529, allocations: 386.1 kB / 0.7028 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.853, allocations: 4 kB / 0.7028 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.8532, allocations: 345.9 kB / 0.7032 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008609/0.854, allocations: 0.4986 MB / 0.7037 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/0.855, allocations: 0.6427 MB / 0.7043 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.8561, allocations: 0.5607 MB / 0.7048 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.8561, allocations: 0 / 0.7048 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003398/0.8595, allocations: 1.791 MB / 0.7066 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.8595, allocations: 13.41 kB / 0.7066 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.8596, allocations: 4 kB / 0.7066 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008032/0.8676, allocations: 2.323 MB / 0.7089 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.8682, allocations: 127.8 kB / 0.709 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.873, allocations: 2.481 MB / 0.7114 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.8748, allocations: 190.9 kB / 0.7116 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.875, allocations: 39.98 kB / 0.7116 GB, free: 4.492 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 29} Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.8752, allocations: 116.9 kB / 0.7117 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01552/0.8907, allocations: 4.934 MB / 0.7166 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008274/0.8916, allocations: 138.3 kB / 0.7167 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/0.9072, allocations: 4.981 MB / 0.7216 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.417e-05/0.9072, allocations: 12 kB / 0.7216 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.9073, allocations: 1.406 kB / 0.7216 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/0.9073, allocations: 7.984 kB / 0.7216 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.9257, allocations: 6.628 MB / 0.728 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.9258, allocations: 0 / 0.728 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.9265, allocations: 107.8 kB / 0.7281 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007503/0.934, allocations: 2.173 MB / 0.7303 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/0.9343, allocations: 8.641 kB / 0.7303 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02017/0.9545, allocations: 8.332 MB / 0.7384 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.9545, allocations: 0 / 0.7384 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/0.9719, allocations: 5.967 MB / 0.7442 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/0.9726, allocations: 247 kB / 0.7445 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.9729, allocations: 0 / 0.7445 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.9743, allocations: 135.9 kB / 0.7446 GB, free: 2.406 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007609/0.975, allocations: 241.3 kB / 0.7448 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.9751, allocations: 24 kB / 0.7449 GB, free: 2.145 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001019/0.9762, allocations: 0.7048 MB / 0.7455 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9762, allocations: 0 / 0.7455 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001274/0.9774, allocations: 427.4 kB / 0.746 GB, free: 1.02 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01729/0.9947, allocations: 6.623 MB / 0.7524 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006778/1.002, allocations: 2.09 MB / 0.7545 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.002, allocations: 0 / 0.7545 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00565/1.007, allocations: 1.773 MB / 0.7562 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.008, allocations: 85.66 kB / 0.7563 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/1.013, allocations: 2.182 MB / 0.7584 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.014, allocations: 1.189 MB / 0.7596 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005571/1.015, allocations: 91.06 kB / 0.7597 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008344/1.016, allocations: 0.5071 MB / 0.7602 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of SimCode: time 1.773e-06/1.016, allocations: 0 / 0.7602 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3992/1.415, allocations: 32.63 MB / 0.792 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/1.415, allocations: 131.9 kB / 0.7921 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.095/4.511, allocations: 0 / 0.7921 GB, free: 142.4 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)