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.0009279/0.0009279, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.389/1.389, allocations: 223.2 MB / 239 MB, free: 5.445 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.001279/0.001279, allocations: 180.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5024/0.5024, allocations: 79.47 MB / 420.8 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.000386, allocations: 12 kB / 0.4892 GB, free: 5.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.49, allocations: 69.52 MB / 0.5571 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006546/0.4966, allocations: 6.932 MB / 0.5639 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.5017, allocations: 2.213 MB / 0.566 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.5029, allocations: 13.03 kB / 0.566 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.5036, allocations: 202.7 kB / 0.5662 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.5059, allocations: 0.8214 MB / 0.567 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.5073, allocations: 0.5813 MB / 0.5676 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.5094, allocations: 1.665 MB / 0.5692 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.5099, allocations: 284.4 kB / 0.5695 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009558/0.5108, allocations: 0.6536 MB / 0.5701 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008992/0.5117, allocations: 0.8868 MB / 0.571 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.5119, allocations: 79.91 kB / 0.5711 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006817/0.5126, allocations: 294.8 kB / 0.5714 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.5128, allocations: 309.8 kB / 0.5717 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.5131, allocations: 258.9 kB / 0.5719 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.5143, allocations: 1.484 MB / 0.5734 GB, free: 33.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5143, allocations: 0 / 0.5734 GB, free: 33.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5143, allocations: 3.625 kB / 0.5734 GB, free: 33.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.5144, allocations: 0 / 0.5734 GB, free: 33.86 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.01076/0.5251, allocations: 3.345 MB / 0.5766 GB, free: 32.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5252, allocations: 8.719 kB / 0.5766 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003687/0.5256, allocations: 143.5 kB / 0.5768 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004184/0.5297, allocations: 0.7254 MB / 0.5775 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.5316, allocations: 0.9297 MB / 0.5784 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.5319, allocations: 375.2 kB / 0.5787 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.5321, allocations: 97.31 kB / 0.5788 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.5346, allocations: 1.362 MB / 0.5802 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.5346, allocations: 0 / 0.5802 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.5348, allocations: 40.89 kB / 0.5802 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.5348, allocations: 24.59 kB / 0.5802 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.5372, allocations: 1.3 MB / 0.5815 GB, free: 30.51 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.007235/0.5444, allocations: 4.502 MB / 0.5859 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007816/0.5522, allocations: 3.086 MB / 0.5889 GB, free: 27.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.5543, allocations: 0.9313 MB / 0.5898 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.5545, allocations: 20.86 kB / 0.5898 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5545, allocations: 47.2 kB / 0.5899 GB, free: 26.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.536e-06/0.5545, allocations: 1.156 kB / 0.5899 GB, free: 26.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.0491/0.6036, allocations: 13.74 MB / 0.6033 GB, free: 24.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.6037, allocations: 89.31 kB / 0.6034 GB, free: 24.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.6066, allocations: 1.176 MB / 0.6045 GB, free: 24.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004091/0.607, allocations: 50.86 kB / 0.6046 GB, free: 24.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.6075, allocations: 0.5361 MB / 0.6051 GB, free: 23.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006971/0.6082, allocations: 411.4 kB / 0.6055 GB, free: 23.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.6085, allocations: 30.56 kB / 0.6055 GB, free: 23.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6087, allocations: 362.2 kB / 0.6059 GB, free: 22.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.6111, allocations: 0.9606 MB / 0.6068 GB, free: 22.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.6136, allocations: 1.146 MB / 0.6079 GB, free: 22.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.6161, allocations: 1.043 MB / 0.609 GB, free: 21.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.6161, allocations: 3.938 kB / 0.609 GB, free: 21.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01076/0.6269, allocations: 4.173 MB / 0.613 GB, free: 19.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.627, allocations: 7.984 kB / 0.613 GB, free: 19.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.627, allocations: 4.5 kB / 0.613 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008921/0.6359, allocations: 2.934 MB / 0.6159 GB, free: 16.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.6375, allocations: 243.6 kB / 0.6161 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007201/0.6448, allocations: 3.057 MB / 0.6191 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/0.6476, allocations: 259 kB / 0.6194 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/0.6481, allocations: 51.98 kB / 0.6194 GB, free: 12.75 MB / 430.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 (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.001092/0.6492, allocations: 265.6 kB / 0.6197 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007253/0.6499, allocations: 138.2 kB / 0.6198 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/0.6654, allocations: 5.829 MB / 0.6255 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.329e-05/0.6655, allocations: 8 kB / 0.6255 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.6656, allocations: 7.953 kB / 0.6255 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.389e-05/0.6656, allocations: 3.984 kB / 0.6255 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/0.686, allocations: 7.573 MB / 0.6329 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/0.6861, allocations: 0 / 0.6329 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008163/0.687, allocations: 111.8 kB / 0.633 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00943/0.6964, allocations: 2.702 MB / 0.6357 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004443/0.6969, allocations: 19.98 kB / 0.6357 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02975/0.7267, allocations: 10.94 MB / 0.6464 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7268, allocations: 0 / 0.6464 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/0.7465, allocations: 7.065 MB / 0.6533 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/0.7473, allocations: 254.9 kB / 0.6535 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/0.748, allocations: 16 kB / 0.6535 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/0.7498, allocations: 151.9 kB / 0.6537 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009957/0.7508, allocations: 241 kB / 0.6539 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/0.7511, allocations: 28 kB / 0.6539 GB, free: 9.086 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.7526, allocations: 0.7872 MB / 0.6547 GB, free: 8.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.7527, allocations: 3.938 kB / 0.6547 GB, free: 8.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002592/0.7553, allocations: 0.4956 MB / 0.6552 GB, free: 7.797 MB / 462.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 (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.01949/0.7748, allocations: 7.648 MB / 0.6626 GB, free: 112 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008537/0.7834, allocations: 2.976 MB / 0.6656 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7834, allocations: 0 / 0.6656 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005864/0.7893, allocations: 2.101 MB / 0.6676 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.7912, allocations: 112.8 kB / 0.6677 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/0.817, allocations: 12.32 MB / 0.6797 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000887/0.8179, allocations: 1.159 MB / 0.6809 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006334/0.8186, allocations: 112.4 kB / 0.681 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008198/0.8194, allocations: 0.5149 MB / 0.6815 GB, free: 12.49 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.8194, allocations: 0 / 0.6815 GB, free: 12.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06282/0.8822, allocations: 36.33 MB / 0.717 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.8825, allocations: 206.8 kB / 0.7172 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/3.817, allocations: 0 / 0.7172 GB, free: 8.289 MB / 0.5137 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/linux/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) Environment - environmentSimulation: