Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_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.0008908/0.0008913, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.49/1.49, allocations: 223.3 MB / 239 MB, free: 5.586 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.001318/0.001318, allocations: 187.8 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5561/0.5561, allocations: 78.56 MB / 419.9 MB, free: 4.418 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 12 kB / 499.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 69.37 MB / 0.5559 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.3329/0.4956, allocations: 6.921 MB / 0.5627 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005192/0.5009, allocations: 2.202 MB / 0.5648 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.5023, allocations: 14.5 kB / 0.5648 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.5031, allocations: 206.2 kB / 0.565 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.5062, allocations: 1.013 MB / 0.566 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.5075, allocations: 0.5058 MB / 0.5665 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.5101, allocations: 1.808 MB / 0.5683 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004886/0.5106, allocations: 282.9 kB / 0.5685 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009773/0.5116, allocations: 0.6634 MB / 0.5692 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009467/0.5126, allocations: 0.911 MB / 0.5701 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.5128, allocations: 81.56 kB / 0.5702 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.5134, allocations: 291.4 kB / 0.5704 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.5137, allocations: 313.5 kB / 0.5707 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.514, allocations: 264.2 kB / 0.571 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.5153, allocations: 1.485 MB / 0.5724 GB, free: 34.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.5153, allocations: 3.234 kB / 0.5724 GB, free: 34.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5153, allocations: 0 / 0.5724 GB, free: 34.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.5153, allocations: 0 / 0.5724 GB, free: 34.89 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.01303/0.5283, allocations: 3.699 MB / 0.576 GB, free: 33.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.5284, allocations: 11.81 kB / 0.5761 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006627/0.5291, allocations: 141.9 kB / 0.5762 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004689/0.5338, allocations: 0.7306 MB / 0.5769 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.5358, allocations: 0.9229 MB / 0.5778 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/0.5361, allocations: 373.8 kB / 0.5782 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.5363, allocations: 95.16 kB / 0.5783 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.5387, allocations: 1.358 MB / 0.5796 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5388, allocations: 0 / 0.5796 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/0.5389, allocations: 36.38 kB / 0.5796 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.5389, allocations: 26.53 kB / 0.5796 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.5413, allocations: 1.305 MB / 0.5809 GB, free: 31.49 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.007786/0.5491, allocations: 4.511 MB / 0.5853 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007765/0.5569, allocations: 3.079 MB / 0.5883 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.559, allocations: 0.9253 MB / 0.5892 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.5592, allocations: 30.06 kB / 0.5893 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.5592, allocations: 47.44 kB / 0.5893 GB, free: 27.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.266e-06/0.5592, allocations: 0 / 0.5893 GB, free: 27.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05047/0.6097, allocations: 13.75 MB / 0.6027 GB, free: 25.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.6098, allocations: 89.66 kB / 0.6028 GB, free: 25.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/0.613, allocations: 1.171 MB / 0.604 GB, free: 25.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004875/0.6135, allocations: 50.61 kB / 0.604 GB, free: 25.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006419/0.6142, allocations: 0.5362 MB / 0.6045 GB, free: 24.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.615, allocations: 403.4 kB / 0.6049 GB, free: 24.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.6154, allocations: 30.62 kB / 0.6049 GB, free: 24.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.6156, allocations: 374.9 kB / 0.6053 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.6182, allocations: 0.9566 MB / 0.6062 GB, free: 23.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.621, allocations: 1.15 MB / 0.6074 GB, free: 22.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/0.6236, allocations: 1.036 MB / 0.6084 GB, free: 22.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.6236, allocations: 3.875 kB / 0.6084 GB, free: 22.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01099/0.6346, allocations: 4.172 MB / 0.6125 GB, free: 20.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.6347, allocations: 12 kB / 0.6125 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.6347, allocations: 4 kB / 0.6125 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008481/0.6432, allocations: 2.941 MB / 0.6153 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.6445, allocations: 244.1 kB / 0.6156 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006016/0.6505, allocations: 3.049 MB / 0.6186 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.653, allocations: 250.5 kB / 0.6188 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/0.6533, allocations: 59.94 kB / 0.6188 GB, free: 13.44 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.0009343/0.6543, allocations: 269.5 kB / 0.6191 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006867/0.655, allocations: 150.1 kB / 0.6192 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.67, allocations: 5.818 MB / 0.6249 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.6701, allocations: 12 kB / 0.6249 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.6701, allocations: 0 / 0.6249 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-05/0.6701, allocations: 12.62 kB / 0.625 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.6888, allocations: 7.569 MB / 0.6323 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/0.6888, allocations: 4 kB / 0.6323 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.6896, allocations: 103.8 kB / 0.6324 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0087/0.6983, allocations: 2.706 MB / 0.6351 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/0.6986, allocations: 20 kB / 0.6351 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02778/0.7264, allocations: 10.95 MB / 0.6458 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7264, allocations: 0 / 0.6458 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/0.7464, allocations: 7.062 MB / 0.6527 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007748/0.7472, allocations: 247 kB / 0.6529 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006714/0.7479, allocations: 20 kB / 0.653 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.7498, allocations: 153.3 kB / 0.6531 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/0.7509, allocations: 240.9 kB / 0.6533 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.7511, allocations: 32.48 kB / 0.6534 GB, free: 9.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001778/0.7529, allocations: 0.7818 MB / 0.6541 GB, free: 8.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7529, allocations: 0 / 0.6541 GB, free: 8.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002428/0.7554, allocations: 0.4956 MB / 0.6546 GB, free: 8.488 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.02/0.7754, allocations: 7.659 MB / 0.6621 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008926/0.7843, allocations: 2.959 MB / 0.665 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.7844, allocations: 4 kB / 0.665 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00627/0.7907, allocations: 2.108 MB / 0.667 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.7928, allocations: 113.9 kB / 0.6671 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/0.8219, allocations: 12.32 MB / 0.6792 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.8235, allocations: 1.159 MB / 0.6803 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008315/0.8244, allocations: 123.8 kB / 0.6804 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.8256, allocations: 0.511 MB / 0.6809 GB, free: 13.17 MB / 494.1 MB Notification: Performance of SimCode: time 2.365e-06/0.8257, allocations: 0 / 0.6809 GB, free: 13.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08338/0.9091, allocations: 36.3 MB / 0.7164 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004149/0.9095, allocations: 203.9 kB / 0.7166 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/3.978, allocations: 0 / 0.7166 GB, free: 8.965 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1) Environment - environmentSimulation: