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.0009714/0.0009714, allocations: 91.22 kB / 15.36 MB, free: 0.7344 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.454/1.454, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001365/0.001365, allocations: 188.4 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5484/0.5484, allocations: 91.92 MB / 433.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.000442, allocations: 12 kB / 0.5049 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4446, allocations: 72.47 MB / 0.5756 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006244/0.4509, allocations: 7.423 MB / 0.5829 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00483/0.4557, allocations: 2.318 MB / 0.5852 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.4567, allocations: 13.91 kB / 0.5852 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.4573, allocations: 236.6 kB / 0.5854 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.4595, allocations: 0.8708 MB / 0.5862 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.4609, allocations: 0.6374 MB / 0.5869 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.4625, allocations: 1.768 MB / 0.5886 GB, free: 27.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.4629, allocations: 300.3 kB / 0.5889 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006577/0.4636, allocations: 0.6773 MB / 0.5895 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.4644, allocations: 0.9123 MB / 0.5904 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.4646, allocations: 80.09 kB / 0.5905 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006296/0.4652, allocations: 311.2 kB / 0.5908 GB, free: 27.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.4655, allocations: 317.5 kB / 0.5911 GB, free: 26.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006094/0.4661, allocations: 0.7408 MB / 0.5918 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.4678, allocations: 1.899 MB / 0.5937 GB, free: 25.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4678, allocations: 0 / 0.5937 GB, free: 25.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4678, allocations: 0 / 0.5937 GB, free: 25.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.4678, allocations: 0 / 0.5937 GB, free: 25.68 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.01248/0.4803, allocations: 3.321 MB / 0.5969 GB, free: 24.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.4804, allocations: 13.72 kB / 0.5969 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/0.4807, allocations: 136.2 kB / 0.5971 GB, free: 24.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/0.4855, allocations: 0.7328 MB / 0.5978 GB, free: 24.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.4874, allocations: 0.9687 MB / 0.5987 GB, free: 23.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/0.4878, allocations: 376.4 kB / 0.5991 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.488, allocations: 98.88 kB / 0.5992 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.491, allocations: 1.37 MB / 0.6005 GB, free: 22.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.491, allocations: 1.031 kB / 0.6005 GB, free: 22.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.4911, allocations: 31.75 kB / 0.6006 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.4912, allocations: 20.22 kB / 0.6006 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.4943, allocations: 1.306 MB / 0.6018 GB, free: 22.24 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.009021/0.5033, allocations: 4.521 MB / 0.6063 GB, free: 19.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009103/0.5124, allocations: 3.085 MB / 0.6093 GB, free: 18.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.5146, allocations: 0.9313 MB / 0.6102 GB, free: 18.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.5148, allocations: 19.77 kB / 0.6102 GB, free: 18.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.5148, allocations: 43.31 kB / 0.6102 GB, free: 18.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.416e-06/0.5148, allocations: 0 / 0.6102 GB, free: 18.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05598/0.5708, allocations: 13.84 MB / 0.6238 GB, free: 11.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.5709, allocations: 94.05 kB / 0.6239 GB, free: 11.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.5732, allocations: 1.18 MB / 0.625 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003671/0.5736, allocations: 49.64 kB / 0.625 GB, free: 10.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.574, allocations: 0.5484 MB / 0.6256 GB, free: 9.973 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000598/0.5746, allocations: 402.2 kB / 0.626 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/0.575, allocations: 145.6 kB / 0.6261 GB, free: 9.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.5751, allocations: 309.1 kB / 0.6264 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.5772, allocations: 0.9644 MB / 0.6273 GB, free: 8.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.5794, allocations: 1.155 MB / 0.6285 GB, free: 6.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004094/0.5835, allocations: 2.12 MB / 0.6305 GB, free: 4.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.5836, allocations: 0 / 0.6305 GB, free: 4.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01911/0.6027, allocations: 6.371 MB / 0.6368 GB, free: 14.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.6028, allocations: 8 kB / 0.6368 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.6028, allocations: 8.25 kB / 0.6368 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/0.6136, allocations: 2.939 MB / 0.6397 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.615, allocations: 247.6 kB / 0.6399 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.6224, allocations: 3.061 MB / 0.6429 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.625, allocations: 250.5 kB / 0.6431 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/0.6253, allocations: 55.98 kB / 0.6432 GB, free: 7.809 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.000923/0.6263, allocations: 274 kB / 0.6434 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006027/0.6269, allocations: 146.2 kB / 0.6436 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01899/0.6459, allocations: 5.829 MB / 0.6493 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/0.6459, allocations: 12 kB / 0.6493 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.646, allocations: 0 / 0.6493 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-05/0.646, allocations: 7.969 kB / 0.6493 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/0.6689, allocations: 7.584 MB / 0.6567 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.669, allocations: 0 / 0.6567 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.6697, allocations: 107.8 kB / 0.6568 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009478/0.6792, allocations: 2.712 MB / 0.6594 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.6794, allocations: 16 kB / 0.6595 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03045/0.7099, allocations: 10.97 MB / 0.6702 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7099, allocations: 0 / 0.6702 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02273/0.7327, allocations: 7.08 MB / 0.6771 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008137/0.7335, allocations: 247 kB / 0.6773 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005609/0.7341, allocations: 24 kB / 0.6773 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.7361, allocations: 151.9 kB / 0.6775 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009644/0.7371, allocations: 233 kB / 0.6777 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.7372, allocations: 28 kB / 0.6777 GB, free: 4.082 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00174/0.739, allocations: 0.7974 MB / 0.6785 GB, free: 3.281 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.739, allocations: 0 / 0.6785 GB, free: 3.281 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002192/0.7412, allocations: 0.4917 MB / 0.679 GB, free: 2.789 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.02324/0.7645, allocations: 7.666 MB / 0.6865 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01016/0.7747, allocations: 2.984 MB / 0.6894 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7747, allocations: 0 / 0.6894 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007364/0.7821, allocations: 2.099 MB / 0.6914 GB, free: 5.988 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.7842, allocations: 120.8 kB / 0.6916 GB, free: 5.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06132/0.8455, allocations: 22.58 MB / 0.7136 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.8469, allocations: 1.159 MB / 0.7147 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007765/0.8477, allocations: 112.5 kB / 0.7148 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.8488, allocations: 0.5187 MB / 0.7153 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.8488, allocations: 0 / 0.7153 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07399/0.9228, allocations: 36.24 MB / 0.7507 GB, free: 8.961 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.9231, allocations: 222.8 kB / 0.751 GB, free: 8.711 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/3.934, allocations: 2.672 kB / 0.751 GB, free: 8.711 MB / 0.545 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)