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: translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005017/0.005017, allocations: 103 kB / 15.73 MB, free: 6.055 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.374/1.374, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001527/0.001528, allocations: 192.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4658/0.4658, allocations: 78.52 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 79.89 kB / 0.5536 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3196, allocations: 68.17 MB / 0.6202 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.005643/0.3253, allocations: 7.508 MB / 0.6275 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.3292, allocations: 2.282 MB / 0.6298 GB, free: 388 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.3299, allocations: 12 kB / 0.6298 GB, free: 376 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.3305, allocations: 297.6 kB / 0.63 GB, free: 76 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.3334, allocations: 1.266 MB / 0.6313 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3347, allocations: 0.592 MB / 0.6319 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.337, allocations: 2.018 MB / 0.6338 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004782/0.3375, allocations: 345 kB / 0.6342 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000924/0.3384, allocations: 0.7821 MB / 0.6349 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.3394, allocations: 1.008 MB / 0.6359 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.3396, allocations: 148 kB / 0.636 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006476/0.3403, allocations: 375.7 kB / 0.6364 GB, free: 9.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.3406, allocations: 394.4 kB / 0.6368 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.3413, allocations: 0.804 MB / 0.6376 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.3432, allocations: 2.022 MB / 0.6395 GB, free: 6.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3432, allocations: 0 / 0.6395 GB, free: 6.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3432, allocations: 4 kB / 0.6395 GB, free: 6.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.3433, allocations: 0 / 0.6395 GB, free: 6.305 MB / 446.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.01547/0.3587, allocations: 3.863 MB / 0.6433 GB, free: 2.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.3588, allocations: 8.031 kB / 0.6433 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.3635, allocations: 0.7277 MB / 0.644 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.3654, allocations: 0.9704 MB / 0.645 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004587/0.3659, allocations: 361.3 kB / 0.6453 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.3661, allocations: 95.91 kB / 0.6454 GB, free: 124 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.3689, allocations: 1.289 MB / 0.6467 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3689, allocations: 0 / 0.6467 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.369, allocations: 32 kB / 0.6467 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.3691, allocations: 20 kB / 0.6467 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.3717, allocations: 1.226 MB / 0.6479 GB, free: 13.54 MB / 462.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.008074/0.3798, allocations: 4.415 MB / 0.6522 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008025/0.3879, allocations: 2.52 MB / 0.6547 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.3898, allocations: 0.8484 MB / 0.6555 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.39, allocations: 20.97 kB / 0.6555 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3901, allocations: 51.5 kB / 0.6556 GB, free: 5.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=111): time 3.557e-06/0.3901, allocations: 0 / 0.6556 GB, free: 5.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.05187/0.4419, allocations: 11.35 MB / 0.6667 GB, free: 9.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.4421, allocations: 94.11 kB / 0.6668 GB, free: 9.867 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.4443, allocations: 1.18 MB / 0.6679 GB, free: 8.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002991/0.4446, allocations: 53.7 kB / 0.668 GB, free: 8.621 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.4451, allocations: 0.5407 MB / 0.6685 GB, free: 8.074 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/0.4457, allocations: 402.2 kB / 0.6689 GB, free: 7.676 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007701/0.4465, allocations: 287.4 kB / 0.6692 GB, free: 7.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.4466, allocations: 305.1 kB / 0.6695 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.4487, allocations: 0.8824 MB / 0.6703 GB, free: 6.207 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.4509, allocations: 1.073 MB / 0.6714 GB, free: 5.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/0.4552, allocations: 1.964 MB / 0.6733 GB, free: 3.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.4552, allocations: 0 / 0.6733 GB, free: 3.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01911/0.4743, allocations: 5.316 MB / 0.6785 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4744, allocations: 10.19 kB / 0.6785 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4744, allocations: 7.938 kB / 0.6785 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.4846, allocations: 2.568 MB / 0.681 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.4861, allocations: 243.7 kB / 0.6812 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/0.4934, allocations: 2.744 MB / 0.6839 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.4958, allocations: 206.5 kB / 0.6841 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/0.4961, allocations: 55.98 kB / 0.6842 GB, free: 7.891 MB / 494.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.0008793/0.497, allocations: 273.5 kB / 0.6844 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005558/0.4976, allocations: 138.2 kB / 0.6846 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.5151, allocations: 4.786 MB / 0.6892 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.5152, allocations: 12 kB / 0.6892 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5152, allocations: 0 / 0.6892 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.5153, allocations: 7.969 kB / 0.6892 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/0.5362, allocations: 6.539 MB / 0.6956 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.5363, allocations: 0 / 0.6956 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.537, allocations: 103.9 kB / 0.6957 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009146/0.5462, allocations: 2.329 MB / 0.698 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/0.5465, allocations: 24 kB / 0.698 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03052/0.5771, allocations: 10.75 MB / 0.7085 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5771, allocations: 0 / 0.7085 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/0.5974, allocations: 5.946 MB / 0.7143 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/0.5981, allocations: 247 kB / 0.7146 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/0.5986, allocations: 20 kB / 0.7146 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.6004, allocations: 111.9 kB / 0.7147 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009772/0.6014, allocations: 241 kB / 0.7149 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.6016, allocations: 31.98 kB / 0.715 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001549/0.6032, allocations: 0.7935 MB / 0.7157 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.164e-06/0.6032, allocations: 0 / 0.7157 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002084/0.6053, allocations: 0.4954 MB / 0.7162 GB, free: 6.711 MB / 0.5137 GB 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.0004354/0.6058, allocations: 149.9 kB / 0.7164 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009105/0.6149, allocations: 2.64 MB / 0.7189 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6149, allocations: 0 / 0.7189 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006788/0.6217, allocations: 1.863 MB / 0.7208 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.6234, allocations: 112.8 kB / 0.7209 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.6291, allocations: 2.634 MB / 0.7234 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009174/0.6301, allocations: 1.155 MB / 0.7246 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005512/0.6307, allocations: 116.5 kB / 0.7247 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.6311, allocations: 83.41 kB / 0.7248 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/0.6311, allocations: 3.938 kB / 0.7248 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.04881/0.6799, allocations: 28.83 MB / 0.7529 GB, free: 1.043 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)