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.001761/0.001761, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.394/1.394, allocations: 222.9 MB / 239 MB, free: 4.719 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.00126/0.001261, allocations: 196.5 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5985/0.5985, allocations: 91.89 MB / 431.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 75.88 kB / 0.5015 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5175, allocations: 71.26 MB / 0.5711 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.007847/0.5255, allocations: 7.915 MB / 0.5788 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.531, allocations: 2.322 MB / 0.5811 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.5327, allocations: 14.62 kB / 0.5811 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008431/0.5335, allocations: 239.1 kB / 0.5813 GB, free: 30 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.5365, allocations: 0.8716 MB / 0.5822 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.538, allocations: 0.6354 MB / 0.5828 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.5408, allocations: 1.856 MB / 0.5846 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/0.5414, allocations: 345.3 kB / 0.5849 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.5427, allocations: 0.7572 MB / 0.5857 GB, free: 27.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.5437, allocations: 0.9964 MB / 0.5866 GB, free: 27.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.544, allocations: 150 kB / 0.5868 GB, free: 27.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008797/0.5448, allocations: 383.6 kB / 0.5872 GB, free: 27.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.5452, allocations: 388.8 kB / 0.5875 GB, free: 26.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007217/0.5459, allocations: 0.7948 MB / 0.5883 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.5483, allocations: 1.987 MB / 0.5902 GB, free: 25.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5483, allocations: 3.938 kB / 0.5902 GB, free: 25.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5483, allocations: 0 / 0.5902 GB, free: 25.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.527e-05/0.5484, allocations: 0 / 0.5902 GB, free: 25.43 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.01375/0.5621, allocations: 3.519 MB / 0.5937 GB, free: 24.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.5622, allocations: 13.62 kB / 0.5937 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.5624, allocations: 138.7 kB / 0.5938 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.5671, allocations: 0.7238 MB / 0.5945 GB, free: 23.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.569, allocations: 0.9727 MB / 0.5955 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/0.5694, allocations: 363.6 kB / 0.5958 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.5696, allocations: 98.81 kB / 0.5959 GB, free: 22.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.5725, allocations: 1.281 MB / 0.5972 GB, free: 22.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5725, allocations: 4 kB / 0.5972 GB, free: 22.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.5726, allocations: 38.97 kB / 0.5972 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.5727, allocations: 20.84 kB / 0.5972 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.5755, allocations: 1.215 MB / 0.5984 GB, free: 21.84 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.0094/0.5849, allocations: 4.44 MB / 0.6028 GB, free: 19.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008225/0.5931, allocations: 2.511 MB / 0.6052 GB, free: 18.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.5953, allocations: 0.8604 MB / 0.6061 GB, free: 18.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.5955, allocations: 19.94 kB / 0.6061 GB, free: 18.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.5955, allocations: 43.69 kB / 0.6061 GB, free: 18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 4.919e-06/0.5956, allocations: 3.984 kB / 0.6061 GB, free: 18 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05184/0.6474, allocations: 11.35 MB / 0.6172 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.6475, allocations: 89.55 kB / 0.6173 GB, free: 14.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.6497, allocations: 1.189 MB / 0.6184 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004564/0.6502, allocations: 47.02 kB / 0.6185 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.6506, allocations: 0.5432 MB / 0.619 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/0.651, allocations: 402.2 kB / 0.6194 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/0.6516, allocations: 287.4 kB / 0.6197 GB, free: 12.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.6517, allocations: 309.1 kB / 0.62 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.6534, allocations: 0.894 MB / 0.6208 GB, free: 11.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.6551, allocations: 1.073 MB / 0.6219 GB, free: 10.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/0.6584, allocations: 1.956 MB / 0.6238 GB, free: 8.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.6584, allocations: 0 / 0.6238 GB, free: 8.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01646/0.6749, allocations: 5.313 MB / 0.629 GB, free: 2.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.675, allocations: 8 kB / 0.629 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.675, allocations: 3.938 kB / 0.629 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009112/0.6841, allocations: 2.568 MB / 0.6315 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.6855, allocations: 243.7 kB / 0.6317 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/0.6921, allocations: 2.744 MB / 0.6344 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/0.6948, allocations: 210.5 kB / 0.6346 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.6951, allocations: 63.86 kB / 0.6347 GB, free: 12.95 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.0006861/0.6957, allocations: 266.1 kB / 0.6349 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.6961, allocations: 146.2 kB / 0.6351 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/0.7124, allocations: 4.782 MB / 0.6397 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.7125, allocations: 12 kB / 0.6398 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.7125, allocations: 0 / 0.6398 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-05/0.7126, allocations: 3.984 kB / 0.6398 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/0.7321, allocations: 6.537 MB / 0.6461 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/0.7322, allocations: 4 kB / 0.6462 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/0.733, allocations: 115.8 kB / 0.6463 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008757/0.7418, allocations: 2.329 MB / 0.6485 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003505/0.7422, allocations: 27.98 kB / 0.6486 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/0.7699, allocations: 10.77 MB / 0.6591 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.77, allocations: 0 / 0.6591 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/0.7897, allocations: 5.951 MB / 0.6649 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/0.7906, allocations: 243 kB / 0.6651 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007437/0.7914, allocations: 20 kB / 0.6651 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/0.7935, allocations: 111.9 kB / 0.6652 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009224/0.7944, allocations: 241.1 kB / 0.6655 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/0.7945, allocations: 28 kB / 0.6655 GB, free: 13.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.7958, allocations: 0.7974 MB / 0.6663 GB, free: 12.24 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7958, allocations: 0 / 0.6663 GB, free: 12.24 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001851/0.7977, allocations: 0.4956 MB / 0.6668 GB, free: 11.74 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.01972/0.8174, allocations: 6.53 MB / 0.6731 GB, free: 5.168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009/0.8265, allocations: 2.667 MB / 0.6757 GB, free: 2.496 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.8265, allocations: 0 / 0.6757 GB, free: 2.496 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006234/0.8328, allocations: 1.867 MB / 0.6776 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.8343, allocations: 124.7 kB / 0.6777 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0524/0.8867, allocations: 20.28 MB / 0.6975 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/0.8876, allocations: 1.155 MB / 0.6986 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006997/0.8883, allocations: 116.5 kB / 0.6987 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/0.8891, allocations: 0.5227 MB / 0.6992 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.8891, allocations: 0 / 0.6992 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07973/0.9688, allocations: 38.56 MB / 0.7369 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.9691, allocations: 236.4 kB / 0.7371 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/3.958, allocations: 3 kB / 0.7371 GB, free: 3.293 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)