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.001422/0.001422, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.372/1.372, allocations: 223.2 MB / 238.9 MB, free: 5.48 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.001076/0.001076, allocations: 185.1 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4686/0.4686, allocations: 79.45 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 11.94 kB / 0.4891 GB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3793, allocations: 69.5 MB / 0.557 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.005396/0.3847, allocations: 6.565 MB / 0.5634 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.3891, allocations: 2.266 MB / 0.5656 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008133/0.39, allocations: 12.59 kB / 0.5656 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.3906, allocations: 204.7 kB / 0.5658 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.3926, allocations: 0.8893 MB / 0.5667 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.3937, allocations: 0.5777 MB / 0.5672 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.3952, allocations: 1.194 MB / 0.5684 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.3956, allocations: 279.8 kB / 0.5687 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.3962, allocations: 0.6571 MB / 0.5693 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.3969, allocations: 0.8686 MB / 0.5701 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.3971, allocations: 82.81 kB / 0.5702 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.3976, allocations: 284 kB / 0.5705 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.3978, allocations: 305.5 kB / 0.5708 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.3981, allocations: 265 kB / 0.571 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3991, allocations: 1.427 MB / 0.5724 GB, free: 34.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3991, allocations: 0 / 0.5724 GB, free: 34.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3991, allocations: 0 / 0.5724 GB, free: 34.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.3991, allocations: 0 / 0.5724 GB, free: 34.13 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.01144/0.4106, allocations: 3.349 MB / 0.5757 GB, free: 32.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4106, allocations: 7.469 kB / 0.5757 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003307/0.411, allocations: 139.8 kB / 0.5758 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004441/0.4154, allocations: 0.7286 MB / 0.5766 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.417, allocations: 0.9286 MB / 0.5775 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.4173, allocations: 380.3 kB / 0.5778 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.4175, allocations: 97.91 kB / 0.5779 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.4198, allocations: 1.352 MB / 0.5792 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.4198, allocations: 0 / 0.5792 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4199, allocations: 37.7 kB / 0.5793 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.42, allocations: 23.25 kB / 0.5793 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.4223, allocations: 1.298 MB / 0.5806 GB, free: 30.79 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.007207/0.4295, allocations: 4.61 MB / 0.5851 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008012/0.4375, allocations: 3.077 MB / 0.5881 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.4377, allocations: 21.05 kB / 0.5881 GB, free: 27.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4377, allocations: 49.62 kB / 0.5881 GB, free: 27.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.226e-06/0.4378, allocations: 0 / 0.5881 GB, free: 27.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05288/0.4906, allocations: 13.76 MB / 0.6016 GB, free: 25.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.4907, allocations: 93.39 kB / 0.6017 GB, free: 25.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.4929, allocations: 1.18 MB / 0.6028 GB, free: 24.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003373/0.4932, allocations: 46.14 kB / 0.6029 GB, free: 24.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.4937, allocations: 0.5362 MB / 0.6034 GB, free: 24.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004723/0.4941, allocations: 402.9 kB / 0.6038 GB, free: 23.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.4943, allocations: 33.94 kB / 0.6038 GB, free: 23.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4944, allocations: 367.1 kB / 0.6041 GB, free: 23.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.4965, allocations: 0.9607 MB / 0.6051 GB, free: 23.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.4987, allocations: 1.14 MB / 0.6062 GB, free: 22.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.5008, allocations: 1.039 MB / 0.6072 GB, free: 22.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.5008, allocations: 1.281 kB / 0.6072 GB, free: 22.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01075/0.5116, allocations: 4.172 MB / 0.6113 GB, free: 20.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5117, allocations: 8.594 kB / 0.6113 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5117, allocations: 3.438 kB / 0.6113 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009314/0.521, allocations: 2.939 MB / 0.6142 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.5223, allocations: 248.3 kB / 0.6144 GB, free: 17.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.5282, allocations: 3.06 MB / 0.6174 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.5304, allocations: 246.5 kB / 0.6176 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.5305, allocations: 63.94 kB / 0.6177 GB, free: 14.43 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.0005735/0.5311, allocations: 269.5 kB / 0.6179 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.5313, allocations: 142.2 kB / 0.6181 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/0.5469, allocations: 5.821 MB / 0.6238 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.547, allocations: 12 kB / 0.6238 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.547, allocations: 0 / 0.6238 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/0.547, allocations: 14.81 kB / 0.6238 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.5647, allocations: 7.565 MB / 0.6312 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.5648, allocations: 8 kB / 0.6312 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.5654, allocations: 104.4 kB / 0.6313 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008722/0.5741, allocations: 2.7 MB / 0.6339 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/0.5744, allocations: 24 kB / 0.6339 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02776/0.6022, allocations: 11.56 MB / 0.6452 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6023, allocations: 1.781 kB / 0.6452 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/0.6223, allocations: 7.068 MB / 0.6521 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006579/0.623, allocations: 250.9 kB / 0.6524 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.6232, allocations: 20 kB / 0.6524 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.6247, allocations: 152.6 kB / 0.6525 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007359/0.6254, allocations: 238.8 kB / 0.6528 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/0.6255, allocations: 39.98 kB / 0.6528 GB, free: 10.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.6267, allocations: 0.7779 MB / 0.6536 GB, free: 9.352 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6267, allocations: 0 / 0.6536 GB, free: 9.352 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001433/0.6281, allocations: 0.4956 MB / 0.6541 GB, free: 8.855 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.01972/0.6478, allocations: 7.738 MB / 0.6616 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008613/0.6565, allocations: 2.958 MB / 0.6645 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6565, allocations: 4.062 kB / 0.6645 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006629/0.6632, allocations: 2.103 MB / 0.6666 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.6644, allocations: 100.8 kB / 0.6667 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/0.6717, allocations: 5.843 MB / 0.6724 GB, free: 6.012 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.6725, allocations: 1.19 MB / 0.6735 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004669/0.6729, allocations: 115.8 kB / 0.6736 GB, free: 4.676 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/0.6736, allocations: 0.5188 MB / 0.6741 GB, free: 4.156 MB / 478.1 MB Notification: Performance of SimCode: time 9.71e-07/0.6736, allocations: 0 / 0.6741 GB, free: 4.156 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06157/0.7352, allocations: 35.4 MB / 0.7087 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/0.7355, allocations: 206.6 kB / 0.7089 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.381, allocations: 3.938 kB / 0.7089 GB, free: 0.8789 MB / 0.4981 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: