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.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.431/1.431, allocations: 222.9 MB / 238.9 MB, free: 4.75 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.001499/0.001499, allocations: 192.1 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5359/0.5359, allocations: 91.89 MB / 431.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 75.88 kB / 0.5013 GB, free: 8.066 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.421, allocations: 71.26 MB / 0.5709 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.007011/0.428, allocations: 7.91 MB / 0.5786 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005164/0.4333, allocations: 2.34 MB / 0.5809 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.4346, allocations: 13.72 kB / 0.5809 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.4354, allocations: 238.4 kB / 0.5812 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.4378, allocations: 0.8824 MB / 0.582 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.4392, allocations: 0.6352 MB / 0.5826 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.4411, allocations: 1.772 MB / 0.5844 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.4415, allocations: 304.5 kB / 0.5847 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008488/0.4423, allocations: 0.7005 MB / 0.5853 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.4432, allocations: 0.9404 MB / 0.5863 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.4434, allocations: 92.47 kB / 0.5864 GB, free: 27.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.4442, allocations: 319.3 kB / 0.5867 GB, free: 27.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.4444, allocations: 334.2 kB / 0.587 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006373/0.4451, allocations: 0.7377 MB / 0.5877 GB, free: 26.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.4469, allocations: 1.939 MB / 0.5896 GB, free: 25.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.447, allocations: 4 kB / 0.5896 GB, free: 25.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.447, allocations: 0 / 0.5896 GB, free: 25.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.509e-05/0.447, allocations: 0 / 0.5896 GB, free: 25.91 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.01347/0.4605, allocations: 3.524 MB / 0.593 GB, free: 24.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/0.4606, allocations: 10.09 kB / 0.593 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.4608, allocations: 135.2 kB / 0.5932 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/0.4654, allocations: 0.7297 MB / 0.5939 GB, free: 24.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.4673, allocations: 0.9724 MB / 0.5948 GB, free: 23.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004158/0.4677, allocations: 360.2 kB / 0.5952 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.468, allocations: 94.75 kB / 0.5953 GB, free: 23.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.4712, allocations: 1.291 MB / 0.5965 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.4712, allocations: 0 / 0.5965 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.4713, allocations: 37.33 kB / 0.5966 GB, free: 22.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.4714, allocations: 20.47 kB / 0.5966 GB, free: 22.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.4743, allocations: 1.217 MB / 0.5978 GB, free: 22.31 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.00926/0.4836, allocations: 4.425 MB / 0.6021 GB, free: 19.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007873/0.4915, allocations: 2.525 MB / 0.6046 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.4936, allocations: 0.8475 MB / 0.6054 GB, free: 18.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.4937, allocations: 23.28 kB / 0.6054 GB, free: 18.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4938, allocations: 49.86 kB / 0.6055 GB, free: 18.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 4.669e-06/0.4938, allocations: 0 / 0.6055 GB, free: 18.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.0501/0.5439, allocations: 11.36 MB / 0.6166 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.544, allocations: 93.03 kB / 0.6166 GB, free: 14.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.5467, allocations: 1.182 MB / 0.6178 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004525/0.5472, allocations: 50.58 kB / 0.6178 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005015/0.5477, allocations: 0.5349 MB / 0.6184 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006766/0.5484, allocations: 405.2 kB / 0.6188 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.5495, allocations: 281.2 kB / 0.619 GB, free: 13.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.5496, allocations: 318.3 kB / 0.6193 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.5516, allocations: 0.8834 MB / 0.6202 GB, free: 11.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.5535, allocations: 1.069 MB / 0.6212 GB, free: 10.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.5571, allocations: 1.953 MB / 0.6231 GB, free: 8.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.5571, allocations: 0 / 0.6231 GB, free: 8.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01599/0.5731, allocations: 5.32 MB / 0.6283 GB, free: 3.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.5732, allocations: 8 kB / 0.6283 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.5732, allocations: 7.938 kB / 0.6283 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008682/0.5819, allocations: 2.569 MB / 0.6309 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.5832, allocations: 239.6 kB / 0.6311 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/0.5898, allocations: 2.744 MB / 0.6338 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.5924, allocations: 218.5 kB / 0.634 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003157/0.5928, allocations: 51.98 kB / 0.634 GB, free: 13.59 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.000903/0.5937, allocations: 274 kB / 0.6343 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/0.5944, allocations: 138.2 kB / 0.6344 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/0.6105, allocations: 4.782 MB / 0.6391 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.6106, allocations: 12 kB / 0.6391 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.6106, allocations: 4 kB / 0.6391 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.395e-05/0.6106, allocations: 3.984 kB / 0.6391 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/0.6311, allocations: 6.533 MB / 0.6455 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.6312, allocations: 4 kB / 0.6455 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.632, allocations: 111.8 kB / 0.6456 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008858/0.6409, allocations: 2.325 MB / 0.6479 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003694/0.6413, allocations: 23.98 kB / 0.6479 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02703/0.6683, allocations: 9.824 MB / 0.6575 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6684, allocations: 4 kB / 0.6575 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/0.6879, allocations: 5.951 MB / 0.6633 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008056/0.6888, allocations: 243.1 kB / 0.6635 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007074/0.6895, allocations: 20 kB / 0.6635 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/0.6915, allocations: 111.9 kB / 0.6637 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/0.6926, allocations: 233 kB / 0.6639 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/0.6928, allocations: 31.98 kB / 0.6639 GB, free: 14.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001573/0.6944, allocations: 0.7896 MB / 0.6647 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6944, allocations: 0 / 0.6647 GB, free: 13.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002508/0.6969, allocations: 0.4994 MB / 0.6652 GB, free: 13.36 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.01935/0.7163, allocations: 6.541 MB / 0.6716 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008836/0.7252, allocations: 2.609 MB / 0.6741 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.7252, allocations: 0 / 0.6741 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006335/0.7316, allocations: 1.826 MB / 0.6759 GB, free: 2.328 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.7339, allocations: 116.8 kB / 0.676 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05673/0.7907, allocations: 20.28 MB / 0.6958 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.7918, allocations: 1.159 MB / 0.6969 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007587/0.7926, allocations: 112.5 kB / 0.697 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009659/0.7936, allocations: 0.5188 MB / 0.6975 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.7936, allocations: 0 / 0.6975 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07107/0.8647, allocations: 36.85 MB / 0.7335 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.8649, allocations: 230 kB / 0.7337 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/3.964, allocations: 3.938 kB / 0.7337 GB, free: 6.719 MB / 0.5294 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)