Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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 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_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_release_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.005676/0.005682, allocations: 166.7 kB / 15.13 MB, free: 6.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 239.1 MB, free: 1.746 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.00083/0.00083, allocations: 96.56 kB / 290.3 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4529/0.4529, allocations: 78.61 MB / 420 MB, free: 44.17 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 12 kB / 500 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3544, allocations: 69.34 MB / 0.556 GB, free: 38.44 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006124/0.3606, allocations: 6.916 MB / 0.5627 GB, free: 36.7 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00435/0.365, allocations: 2.212 MB / 0.5649 GB, free: 35.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/0.3657, allocations: 13.53 kB / 0.5649 GB, free: 35.12 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.3662, allocations: 204.9 kB / 0.5651 GB, free: 35.04 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.3685, allocations: 1.026 MB / 0.5661 GB, free: 34.38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3697, allocations: 0.5063 MB / 0.5666 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.3716, allocations: 1.814 MB / 0.5684 GB, free: 33.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.3721, allocations: 284.1 kB / 0.5686 GB, free: 33.12 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007064/0.3728, allocations: 0.6668 MB / 0.5693 GB, free: 32.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.3736, allocations: 0.905 MB / 0.5702 GB, free: 32.45 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3738, allocations: 78.88 kB / 0.5703 GB, free: 32.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.3743, allocations: 289 kB / 0.5705 GB, free: 32.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.3746, allocations: 313.9 kB / 0.5708 GB, free: 32.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3748, allocations: 269.1 kB / 0.5711 GB, free: 32.04 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3758, allocations: 1.49 MB / 0.5725 GB, free: 31.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3758, allocations: 0 / 0.5725 GB, free: 31.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3758, allocations: 0 / 0.5725 GB, free: 31.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.3758, allocations: 0 / 0.5725 GB, free: 31.59 MB / 426.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.01293/0.3888, allocations: 3.694 MB / 0.5761 GB, free: 30.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3888, allocations: 8.875 kB / 0.5762 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002423/0.3891, allocations: 153.3 kB / 0.5763 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/0.3932, allocations: 0.7301 MB / 0.577 GB, free: 30.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.3945, allocations: 0.9243 MB / 0.5779 GB, free: 29.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.3948, allocations: 376.4 kB / 0.5783 GB, free: 29.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.395, allocations: 95 kB / 0.5784 GB, free: 29.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.3973, allocations: 1.361 MB / 0.5797 GB, free: 28.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3974, allocations: 0 / 0.5797 GB, free: 28.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3975, allocations: 36.39 kB / 0.5797 GB, free: 28.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3975, allocations: 19.91 kB / 0.5797 GB, free: 28.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.3998, allocations: 1.301 MB / 0.581 GB, free: 28.16 MB / 426.7 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.006685/0.4065, allocations: 4.509 MB / 0.5854 GB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007716/0.4143, allocations: 3.083 MB / 0.5884 GB, free: 24.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.4159, allocations: 0.932 MB / 0.5893 GB, free: 24.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.416, allocations: 24.64 kB / 0.5894 GB, free: 24.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.416, allocations: 42.88 kB / 0.5894 GB, free: 24.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=111): time 3.356e-06/0.4161, allocations: 0 / 0.5894 GB, free: 24.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=111): time 0.05012/0.4662, allocations: 13.75 MB / 0.6028 GB, free: 22.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.4663, allocations: 89.67 kB / 0.6029 GB, free: 22.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.468, allocations: 1.18 MB / 0.6041 GB, free: 21.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.4683, allocations: 46.73 kB / 0.6041 GB, free: 21.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.4686, allocations: 0.5389 MB / 0.6046 GB, free: 21.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00038/0.469, allocations: 403 kB / 0.605 GB, free: 20.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.4691, allocations: 31.06 kB / 0.6051 GB, free: 20.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.4692, allocations: 374.6 kB / 0.6054 GB, free: 20.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.4711, allocations: 0.9587 MB / 0.6063 GB, free: 20.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.4731, allocations: 1.146 MB / 0.6075 GB, free: 19.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.475, allocations: 1.039 MB / 0.6085 GB, free: 18.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.475, allocations: 1.25 kB / 0.6085 GB, free: 18.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.009675/0.4847, allocations: 4.17 MB / 0.6126 GB, free: 15.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4848, allocations: 12.78 kB / 0.6126 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.4848, allocations: 4 kB / 0.6126 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009044/0.4938, allocations: 2.939 MB / 0.6154 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.4949, allocations: 239.6 kB / 0.6157 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005858/0.5008, allocations: 3.06 MB / 0.6187 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.5028, allocations: 254.5 kB / 0.6189 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.503, allocations: 55.98 kB / 0.619 GB, free: 9.32 MB / 426.7 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.0004697/0.5035, allocations: 269.5 kB / 0.6192 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.5037, allocations: 142.2 kB / 0.6193 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01646/0.5201, allocations: 5.821 MB / 0.625 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.5202, allocations: 12 kB / 0.625 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5202, allocations: 7.891 kB / 0.625 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.5202, allocations: 3.984 kB / 0.6251 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.5396, allocations: 7.573 MB / 0.6324 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.5397, allocations: 0 / 0.6324 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/0.5404, allocations: 107.8 kB / 0.6326 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009018/0.5494, allocations: 2.7 MB / 0.6352 GB, free: 8.547 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.5496, allocations: 27.98 kB / 0.6352 GB, free: 8.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02655/0.5761, allocations: 10.94 MB / 0.6459 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5762, allocations: 4 kB / 0.6459 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/0.5965, allocations: 7.057 MB / 0.6528 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/0.5972, allocations: 255 kB / 0.653 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.5974, allocations: 20 kB / 0.6531 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.5988, allocations: 147.9 kB / 0.6532 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006731/0.5995, allocations: 241 kB / 0.6534 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/0.5996, allocations: 28 kB / 0.6535 GB, free: 5.656 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.6007, allocations: 0.7857 MB / 0.6542 GB, free: 4.867 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6007, allocations: 0 / 0.6542 GB, free: 4.867 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001325/0.602, allocations: 0.4956 MB / 0.6547 GB, free: 4.371 MB / 458.7 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.02015/0.6222, allocations: 7.656 MB / 0.6622 GB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008264/0.6305, allocations: 2.972 MB / 0.6651 GB, free: 9.711 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6305, allocations: 0 / 0.6651 GB, free: 9.711 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006211/0.6367, allocations: 2.095 MB / 0.6671 GB, free: 7.598 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.638, allocations: 118.2 kB / 0.6672 GB, free: 7.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/0.6618, allocations: 12.32 MB / 0.6793 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.6625, allocations: 1.155 MB / 0.6804 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004969/0.663, allocations: 124.5 kB / 0.6805 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/0.6637, allocations: 0.5149 MB / 0.681 GB, free: 8.969 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6637, allocations: 0 / 0.681 GB, free: 8.969 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05207/0.7158, allocations: 36.32 MB / 0.7165 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.716, allocations: 215.5 kB / 0.7167 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/3.928, allocations: 3.938 kB / 0.7167 GB, free: 4.602 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)