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.006725/0.006725, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.373/1.373, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001248/0.001248, allocations: 179.8 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4486/0.4486, allocations: 78.53 MB / 418.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 79.81 kB / 0.5536 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3284, allocations: 68.17 MB / 0.6202 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.005555/0.334, allocations: 7.511 MB / 0.6275 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.3373, allocations: 2.282 MB / 0.6298 GB, free: 424 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005108/0.3379, allocations: 12 kB / 0.6298 GB, free: 412 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.3384, allocations: 301.5 kB / 0.6301 GB, free: 108 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.3411, allocations: 1.205 MB / 0.6312 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3423, allocations: 0.5885 MB / 0.6318 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.3444, allocations: 2.014 MB / 0.6338 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/0.3449, allocations: 345 kB / 0.6341 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008449/0.3457, allocations: 0.7821 MB / 0.6349 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.3468, allocations: 1.015 MB / 0.6359 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.3471, allocations: 144 kB / 0.636 GB, free: 9.996 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006736/0.3478, allocations: 367.8 kB / 0.6363 GB, free: 9.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.3481, allocations: 394.4 kB / 0.6367 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.3488, allocations: 0.8041 MB / 0.6375 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.3509, allocations: 2.04 MB / 0.6395 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3509, allocations: 0 / 0.6395 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3509, allocations: 0 / 0.6395 GB, free: 6.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.351, allocations: 0 / 0.6395 GB, free: 6.398 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.0159/0.3669, allocations: 3.916 MB / 0.6433 GB, free: 2.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.666e-05/0.367, allocations: 12.03 kB / 0.6433 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.3715, allocations: 0.7288 MB / 0.644 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.3733, allocations: 0.9792 MB / 0.645 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/0.3737, allocations: 361.3 kB / 0.6453 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.3739, allocations: 96 kB / 0.6454 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.3765, allocations: 1.289 MB / 0.6467 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3766, allocations: 0 / 0.6467 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.3767, allocations: 36 kB / 0.6467 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.3767, allocations: 23.98 kB / 0.6468 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.3794, allocations: 1.218 MB / 0.6479 GB, free: 13.57 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.00779/0.3872, allocations: 4.427 MB / 0.6523 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007842/0.3951, allocations: 2.52 MB / 0.6547 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.3969, allocations: 0.8484 MB / 0.6556 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.3971, allocations: 24.91 kB / 0.6556 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.3971, allocations: 55.56 kB / 0.6556 GB, free: 5.383 MB / 462.1 MB Notification: Performance of pre-optimization done (n=111): time 2.996e-06/0.3971, allocations: 0 / 0.6556 GB, free: 5.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.05025/0.4474, allocations: 11.35 MB / 0.6667 GB, free: 9.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.4475, allocations: 94.11 kB / 0.6668 GB, free: 9.879 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.4495, allocations: 1.184 MB / 0.668 GB, free: 8.688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002917/0.4498, allocations: 45.7 kB / 0.668 GB, free: 8.637 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.4502, allocations: 0.5492 MB / 0.6685 GB, free: 8.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.4507, allocations: 428.3 kB / 0.6689 GB, free: 7.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005284/0.4512, allocations: 279.5 kB / 0.6692 GB, free: 7.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.4513, allocations: 305.1 kB / 0.6695 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.4533, allocations: 0.8941 MB / 0.6704 GB, free: 6.188 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.4554, allocations: 1.069 MB / 0.6714 GB, free: 5.074 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/0.4594, allocations: 1.956 MB / 0.6733 GB, free: 3.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4594, allocations: 0 / 0.6733 GB, free: 3.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01801/0.4774, allocations: 5.333 MB / 0.6785 GB, free: 13.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.4775, allocations: 4 kB / 0.6785 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.4775, allocations: 7.938 kB / 0.6786 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009661/0.4872, allocations: 2.568 MB / 0.6811 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.4885, allocations: 239.6 kB / 0.6813 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006504/0.495, allocations: 2.752 MB / 0.684 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/0.4972, allocations: 210.9 kB / 0.6842 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.4974, allocations: 55.98 kB / 0.6842 GB, free: 7.863 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.0005711/0.4979, allocations: 265.5 kB / 0.6845 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.4982, allocations: 147.1 kB / 0.6846 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/0.5145, allocations: 4.782 MB / 0.6893 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.5146, allocations: 16 kB / 0.6893 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5146, allocations: 0 / 0.6893 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.5146, allocations: 3.984 kB / 0.6893 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/0.5333, allocations: 6.539 MB / 0.6957 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5333, allocations: 0 / 0.6957 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.5339, allocations: 107.8 kB / 0.6958 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008571/0.5425, allocations: 2.333 MB / 0.6981 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.5427, allocations: 23.98 kB / 0.6981 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02703/0.5697, allocations: 10.77 MB / 0.7086 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5698, allocations: 3.984 kB / 0.7086 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/0.5884, allocations: 5.958 MB / 0.7144 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.5889, allocations: 247.9 kB / 0.7147 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.5892, allocations: 23.98 kB / 0.7147 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.5905, allocations: 103.9 kB / 0.7148 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007603/0.5913, allocations: 245.1 kB / 0.715 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/0.5914, allocations: 28 kB / 0.7151 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001122/0.5925, allocations: 0.7974 MB / 0.7158 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5925, allocations: 0 / 0.7158 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001293/0.5938, allocations: 0.4995 MB / 0.7163 GB, free: 6.648 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.0002924/0.5941, allocations: 151 kB / 0.7165 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007788/0.6019, allocations: 2.64 MB / 0.719 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6019, allocations: 0 / 0.719 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006043/0.608, allocations: 1.87 MB / 0.7209 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.6093, allocations: 119 kB / 0.721 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.6137, allocations: 2.665 MB / 0.7236 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.6144, allocations: 1.155 MB / 0.7247 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004167/0.6148, allocations: 116.5 kB / 0.7248 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.6151, allocations: 83.42 kB / 0.7249 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6151, allocations: 0 / 0.7249 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.04107/0.6561, allocations: 28.84 MB / 0.7531 GB, free: 0.9062 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)