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.006815/0.006819, allocations: 173.5 kB / 15.12 MB, free: 5.559 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.342/1.342, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.0008649, allocations: 94.67 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4504/0.4504, allocations: 78.6 MB / 419.9 MB, free: 36.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 12 kB / 499.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 69.35 MB / 0.5559 GB, free: 1.758 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.00622/0.1385, allocations: 6.559 MB / 0.5623 GB, free: 11.17 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.1424, allocations: 2.256 MB / 0.5645 GB, free: 8.914 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.1428, allocations: 19.94 kB / 0.5645 GB, free: 8.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.1432, allocations: 206.5 kB / 0.5647 GB, free: 8.691 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.1454, allocations: 1.085 MB / 0.5657 GB, free: 7.609 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1465, allocations: 0.4975 MB / 0.5662 GB, free: 7.121 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1479, allocations: 1.303 MB / 0.5675 GB, free: 5.812 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.1483, allocations: 281.8 kB / 0.5678 GB, free: 5.512 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/0.1489, allocations: 0.6732 MB / 0.5684 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009336/0.1499, allocations: 0.891 MB / 0.5693 GB, free: 3.941 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.15, allocations: 80 kB / 0.5694 GB, free: 3.863 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.1505, allocations: 275.8 kB / 0.5696 GB, free: 3.594 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.1508, allocations: 310.8 kB / 0.5699 GB, free: 3.289 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.151, allocations: 268.8 kB / 0.5702 GB, free: 3.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.1523, allocations: 1.434 MB / 0.5716 GB, free: 1.582 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1523, allocations: 0 / 0.5716 GB, free: 1.582 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1523, allocations: 0 / 0.5716 GB, free: 1.582 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.1523, allocations: 4 kB / 0.5716 GB, free: 1.578 MB / 442.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.2757/0.428, allocations: 3.689 MB / 0.5752 GB, free: 35.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4281, allocations: 10.67 kB / 0.5752 GB, free: 35.67 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004497/0.4285, allocations: 141.1 kB / 0.5753 GB, free: 35.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.4329, allocations: 0.7354 MB / 0.5761 GB, free: 35.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.4346, allocations: 0.9179 MB / 0.577 GB, free: 35.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/0.435, allocations: 374.1 kB / 0.5773 GB, free: 34.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.4352, allocations: 101 kB / 0.5774 GB, free: 34.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.4377, allocations: 1.353 MB / 0.5787 GB, free: 34.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4378, allocations: 2.516 kB / 0.5787 GB, free: 34.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4379, allocations: 40.17 kB / 0.5788 GB, free: 34.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.4379, allocations: 21.78 kB / 0.5788 GB, free: 34.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.4406, allocations: 1.297 MB / 0.5801 GB, free: 34.83 MB / 442.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.008122/0.4487, allocations: 4.612 MB / 0.5846 GB, free: 33.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008073/0.4568, allocations: 3.077 MB / 0.5876 GB, free: 32.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.457, allocations: 22.98 kB / 0.5876 GB, free: 32.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.457, allocations: 48.91 kB / 0.5876 GB, free: 32.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=111): time 2.835e-06/0.457, allocations: 0 / 0.5876 GB, free: 32.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=111): time 0.04927/0.5063, allocations: 13.76 MB / 0.6011 GB, free: 32.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.5064, allocations: 90.2 kB / 0.6012 GB, free: 31.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.5083, allocations: 1.176 MB / 0.6023 GB, free: 31.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002485/0.5085, allocations: 49.36 kB / 0.6024 GB, free: 31.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.5089, allocations: 0.536 MB / 0.6029 GB, free: 31.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/0.5094, allocations: 403.7 kB / 0.6033 GB, free: 31.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.5096, allocations: 31.38 kB / 0.6033 GB, free: 31.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.5097, allocations: 372.8 kB / 0.6037 GB, free: 31.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.5115, allocations: 0.9621 MB / 0.6046 GB, free: 30.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.5135, allocations: 1.136 MB / 0.6057 GB, free: 30.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.5156, allocations: 1.042 MB / 0.6067 GB, free: 30.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.5156, allocations: 0 / 0.6067 GB, free: 30.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01021/0.5258, allocations: 4.168 MB / 0.6108 GB, free: 30.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.5259, allocations: 9.812 kB / 0.6108 GB, free: 30.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5259, allocations: 7.406 kB / 0.6108 GB, free: 30.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.5362, allocations: 2.936 MB / 0.6137 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.5375, allocations: 238 kB / 0.6139 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.5447, allocations: 3.055 MB / 0.6169 GB, free: 28.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.5469, allocations: 248.1 kB / 0.6171 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.5472, allocations: 68.02 kB / 0.6172 GB, free: 28.68 MB / 442.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.0006777/0.5479, allocations: 259.3 kB / 0.6174 GB, free: 28.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.5484, allocations: 143.4 kB / 0.6176 GB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.019/0.5674, allocations: 5.826 MB / 0.6233 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/0.5675, allocations: 11.69 kB / 0.6233 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.5675, allocations: 3.625 kB / 0.6233 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.974e-05/0.5676, allocations: 10.56 kB / 0.6233 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/0.5881, allocations: 7.573 MB / 0.6307 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.5882, allocations: 0 / 0.6307 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.5888, allocations: 110.7 kB / 0.6308 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00823/0.5971, allocations: 2.696 MB / 0.6334 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.5972, allocations: 27.98 kB / 0.6334 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02608/0.6233, allocations: 11.56 MB / 0.6447 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.6234, allocations: 0 / 0.6447 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/0.6417, allocations: 7.07 MB / 0.6516 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.6422, allocations: 243.7 kB / 0.6519 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/0.6426, allocations: 28 kB / 0.6519 GB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.6441, allocations: 151.9 kB / 0.652 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006562/0.6447, allocations: 237 kB / 0.6523 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.018e-05/0.6448, allocations: 28 kB / 0.6523 GB, free: 1.008 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00098/0.6458, allocations: 0.7818 MB / 0.6531 GB, free: 228 kB / 442.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6458, allocations: 0 / 0.6531 GB, free: 228 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001468/0.6473, allocations: 0.503 MB / 0.6535 GB, free: 15.72 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.02006/0.6674, allocations: 7.732 MB / 0.6611 GB, free: 8.012 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00885/0.6763, allocations: 2.968 MB / 0.664 GB, free: 5.074 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.6763, allocations: 0 / 0.664 GB, free: 5.074 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00632/0.6826, allocations: 2.11 MB / 0.6661 GB, free: 2.973 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.6836, allocations: 102.6 kB / 0.6662 GB, free: 2.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/0.6907, allocations: 5.825 MB / 0.6718 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.6914, allocations: 1.19 MB / 0.673 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004985/0.6919, allocations: 115.8 kB / 0.6731 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/0.6926, allocations: 0.5205 MB / 0.6736 GB, free: 11.16 MB / 474.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6927, allocations: 0 / 0.6736 GB, free: 11.16 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05755/0.7502, allocations: 35.4 MB / 0.7082 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.7504, allocations: 225.3 kB / 0.7084 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/3.891, allocations: 0 / 0.7084 GB, free: 7.879 MB / 0.4948 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)