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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001271/0.001271, allocations: 200.2 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4815/0.4815, allocations: 91.91 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 79.88 kB / 0.502 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3033, allocations: 71.25 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.005694/0.309, allocations: 7.537 MB / 0.5789 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.3129, allocations: 2.28 MB / 0.5812 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007071/0.3136, allocations: 10.5 kB / 0.5812 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.3143, allocations: 301.2 kB / 0.5814 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.3165, allocations: 0.998 MB / 0.5824 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.3178, allocations: 0.6684 MB / 0.5831 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.3192, allocations: 1.852 MB / 0.5849 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.3196, allocations: 342.7 kB / 0.5852 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.3202, allocations: 0.7597 MB / 0.586 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/0.321, allocations: 0.9866 MB / 0.5869 GB, free: 27.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.3212, allocations: 147 kB / 0.5871 GB, free: 27.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.3218, allocations: 383.3 kB / 0.5874 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.3221, allocations: 390.2 kB / 0.5878 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005065/0.3226, allocations: 0.7983 MB / 0.5886 GB, free: 26.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.3241, allocations: 1.984 MB / 0.5905 GB, free: 25.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3241, allocations: 0 / 0.5905 GB, free: 25.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3241, allocations: 5.062 kB / 0.5905 GB, free: 25.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.3241, allocations: 0 / 0.5905 GB, free: 25.81 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.01199/0.3361, allocations: 3.526 MB / 0.594 GB, free: 24.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3362, allocations: 10.38 kB / 0.594 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.3363, allocations: 139.4 kB / 0.5941 GB, free: 24.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.3406, allocations: 0.7232 MB / 0.5948 GB, free: 24.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.3419, allocations: 0.9764 MB / 0.5958 GB, free: 23.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/0.3423, allocations: 366.9 kB / 0.5961 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.3424, allocations: 95.84 kB / 0.5962 GB, free: 23.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.3447, allocations: 1.283 MB / 0.5975 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3448, allocations: 0 / 0.5975 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3449, allocations: 34.97 kB / 0.5975 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.3449, allocations: 24.5 kB / 0.5975 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.3474, allocations: 1.218 MB / 0.5987 GB, free: 22.21 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.007131/0.3545, allocations: 4.436 MB / 0.603 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/0.362, allocations: 2.515 MB / 0.6055 GB, free: 18.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.3637, allocations: 0.861 MB / 0.6063 GB, free: 18.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.3638, allocations: 19.11 kB / 0.6064 GB, free: 18.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3639, allocations: 48.34 kB / 0.6064 GB, free: 18.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 2.885e-06/0.3639, allocations: 0 / 0.6064 GB, free: 18.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04742/0.4113, allocations: 11.35 MB / 0.6175 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4114, allocations: 89.27 kB / 0.6176 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.413, allocations: 1.186 MB / 0.6187 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.4131, allocations: 46.33 kB / 0.6188 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.4134, allocations: 0.5351 MB / 0.6193 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.4138, allocations: 407.4 kB / 0.6197 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004515/0.4142, allocations: 287.4 kB / 0.62 GB, free: 12.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.4143, allocations: 309.1 kB / 0.6203 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.4159, allocations: 0.8824 MB / 0.6211 GB, free: 11.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4176, allocations: 1.073 MB / 0.6222 GB, free: 10.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/0.4209, allocations: 1.964 MB / 0.6241 GB, free: 8.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4209, allocations: 4 kB / 0.6241 GB, free: 8.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01582/0.4368, allocations: 5.312 MB / 0.6293 GB, free: 2.961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4368, allocations: 6.031 kB / 0.6293 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4368, allocations: 8.25 kB / 0.6293 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008646/0.4455, allocations: 2.572 MB / 0.6318 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4466, allocations: 235.7 kB / 0.632 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/0.453, allocations: 2.752 MB / 0.6347 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.4553, allocations: 206.5 kB / 0.6349 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/0.4555, allocations: 55.98 kB / 0.635 GB, free: 13.11 MB / 446.1 MB 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.000641/0.4562, allocations: 273.4 kB / 0.6352 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/0.4568, allocations: 142.2 kB / 0.6354 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/0.4731, allocations: 4.782 MB / 0.64 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.4732, allocations: 12 kB / 0.64 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.4732, allocations: 0 / 0.64 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/0.4733, allocations: 7.969 kB / 0.64 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/0.4923, allocations: 6.537 MB / 0.6464 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.4924, allocations: 0 / 0.6464 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.493, allocations: 103.9 kB / 0.6465 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008417/0.5014, allocations: 2.345 MB / 0.6488 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.5016, allocations: 23.94 kB / 0.6488 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0271/0.5287, allocations: 10.78 MB / 0.6594 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5287, allocations: 0 / 0.6594 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/0.5473, allocations: 5.936 MB / 0.6652 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.5478, allocations: 247 kB / 0.6654 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.5481, allocations: 28 kB / 0.6654 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.5496, allocations: 103.9 kB / 0.6655 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007208/0.5503, allocations: 241.1 kB / 0.6658 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/0.5504, allocations: 39.92 kB / 0.6658 GB, free: 13.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.5516, allocations: 0.7935 MB / 0.6666 GB, free: 12.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5516, allocations: 0 / 0.6666 GB, free: 12.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001362/0.5529, allocations: 0.4917 MB / 0.667 GB, free: 11.89 MB / 478.1 MB 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.01849/0.5714, allocations: 6.534 MB / 0.6734 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008432/0.5799, allocations: 2.667 MB / 0.676 GB, free: 2.645 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5799, allocations: 0 / 0.676 GB, free: 2.645 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005807/0.5857, allocations: 1.859 MB / 0.6778 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5869, allocations: 116.8 kB / 0.678 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04749/0.6344, allocations: 19.84 MB / 0.6973 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.6351, allocations: 1.163 MB / 0.6985 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004608/0.6356, allocations: 108.5 kB / 0.6986 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/0.6363, allocations: 0.5227 MB / 0.6991 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.6363, allocations: 0 / 0.6991 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06559/0.7019, allocations: 39.85 MB / 0.738 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.85, allocations: 10.66 kB / 0.738 GB, free: 2.824 MB / 0.5294 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)