Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09226/0.09226, allocations: 12.6 MB / 28.86 MB, free: 400 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 111.5 kB / 32.46 MB, free: 3.453 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 241.1 MB, free: 12.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 187.5 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4269/0.4269, allocations: 78.51 MB / 419.9 MB, free: 11.29 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003661/0.003662, allocations: 143.8 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2895, allocations: 68.11 MB / 0.556 GB, free: 32.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003871/0.2934, allocations: 3.443 MB / 0.5594 GB, free: 30.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.2952, allocations: 1.012 MB / 0.5604 GB, free: 29.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.2954, allocations: 4.125 kB / 0.5604 GB, free: 29.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.2957, allocations: 102 kB / 0.5605 GB, free: 29.62 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.2961, allocations: 168.5 kB / 0.5606 GB, free: 29.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.2967, allocations: 342.5 kB / 0.5609 GB, free: 29.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.2971, allocations: 0.6017 MB / 0.5615 GB, free: 28.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.2973, allocations: 158.9 kB / 0.5617 GB, free: 28.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.2976, allocations: 261.4 kB / 0.5619 GB, free: 28.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.2978, allocations: 272 kB / 0.5622 GB, free: 28.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/0.2979, allocations: 52.69 kB / 0.5622 GB, free: 28.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.2981, allocations: 100.5 kB / 0.5623 GB, free: 28.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.2982, allocations: 117.7 kB / 0.5624 GB, free: 28.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.2984, allocations: 265.3 kB / 0.5627 GB, free: 28.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.2989, allocations: 0.664 MB / 0.5633 GB, free: 27.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2989, allocations: 3.938 kB / 0.5634 GB, free: 27.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2989, allocations: 0 / 0.5634 GB, free: 27.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2989, allocations: 5.125 kB / 0.5634 GB, free: 27.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001221/0.3001, allocations: 0.8366 MB / 0.5642 GB, free: 26.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3002, allocations: 13.05 kB / 0.5642 GB, free: 26.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009612/0.3011, allocations: 177.6 kB / 0.5644 GB, free: 26.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.3017, allocations: 396.2 kB / 0.5647 GB, free: 26.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.3018, allocations: 65.94 kB / 0.5648 GB, free: 26.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.3019, allocations: 30.31 kB / 0.5648 GB, free: 26.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.3026, allocations: 386.2 kB / 0.5652 GB, free: 26.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3026, allocations: 0 / 0.5652 GB, free: 26.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.3027, allocations: 15.5 kB / 0.5652 GB, free: 26.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3027, allocations: 6.75 kB / 0.5652 GB, free: 26.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.3034, allocations: 329.8 kB / 0.5655 GB, free: 25.96 MB / 398.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.002397/0.3058, allocations: 1.847 MB / 0.5673 GB, free: 24.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.3066, allocations: 0.8161 MB / 0.5681 GB, free: 23.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.307, allocations: 188.6 kB / 0.5683 GB, free: 23.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.3071, allocations: 6.625 kB / 0.5683 GB, free: 23.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3071, allocations: 35.91 kB / 0.5684 GB, free: 23.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.314e-06/0.3071, allocations: 3.984 kB / 0.5684 GB, free: 23.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.004457/0.3116, allocations: 1.244 MB / 0.5696 GB, free: 22.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.3116, allocations: 55.16 kB / 0.5696 GB, free: 22.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.3121, allocations: 433.1 kB / 0.57 GB, free: 22.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3121, allocations: 26.89 kB / 0.5701 GB, free: 22.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3123, allocations: 257.6 kB / 0.5703 GB, free: 22.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.3123, allocations: 93.64 kB / 0.5704 GB, free: 22.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3125, allocations: 68.97 kB / 0.5705 GB, free: 22.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.3125, allocations: 359.8 kB / 0.5708 GB, free: 21.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.3129, allocations: 181.2 kB / 0.571 GB, free: 21.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.3133, allocations: 232 kB / 0.5712 GB, free: 21.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/0.3178, allocations: 1.28 MB / 0.5724 GB, free: 20.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3178, allocations: 5.219 kB / 0.5725 GB, free: 20.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002264/0.3201, allocations: 0.8536 MB / 0.5733 GB, free: 20.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3201, allocations: 5.594 kB / 0.5733 GB, free: 20.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3201, allocations: 5.062 kB / 0.5733 GB, free: 20.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/0.3221, allocations: 0.5577 MB / 0.5738 GB, free: 20.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.3229, allocations: 140.4 kB / 0.574 GB, free: 19.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006193/0.3291, allocations: 3.202 MB / 0.5771 GB, free: 17.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.3296, allocations: 39.91 kB / 0.5771 GB, free: 17.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.3296, allocations: 24 kB / 0.5772 GB, free: 17.09 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.3299, allocations: 171.3 kB / 0.5773 GB, free: 16.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.33, allocations: 39.53 kB / 0.5774 GB, free: 16.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.332, allocations: 0.7715 MB / 0.5781 GB, free: 16.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.332, allocations: 8 kB / 0.5781 GB, free: 16.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.332, allocations: 0 / 0.5781 GB, free: 16.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3321, allocations: 4.266 kB / 0.5781 GB, free: 16.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.3348, allocations: 1.489 MB / 0.5796 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3348, allocations: 0 / 0.5796 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/0.3356, allocations: 131.7 kB / 0.5797 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/0.3379, allocations: 0.6248 MB / 0.5803 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.338, allocations: 11.98 kB / 0.5803 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005733/0.3437, allocations: 3.178 MB / 0.5834 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3437, allocations: 3.938 kB / 0.5834 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.3463, allocations: 1.039 MB / 0.5845 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3464, allocations: 124.5 kB / 0.5846 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.3465, allocations: 12 kB / 0.5846 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.3469, allocations: 19.97 kB / 0.5846 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.347, allocations: 55.92 kB / 0.5847 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.3471, allocations: 11.98 kB / 0.5847 GB, free: 9.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.3473, allocations: 299.1 kB / 0.585 GB, free: 8.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3473, allocations: 4.281 kB / 0.585 GB, free: 8.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.3478, allocations: 135.8 kB / 0.5851 GB, free: 8.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (phaseShiftingTransformer.phaseShifter.pmes,phaseShiftingTransformer.phaseShifter.alpha) * 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 (15): * Single equations (assignments): 14 * 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 {(5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001211/0.3479, allocations: 103.2 kB / 0.5852 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.3504, allocations: 0.7711 MB / 0.5859 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3504, allocations: 0 / 0.5859 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002077/0.3525, allocations: 0.5726 MB / 0.5865 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.3529, allocations: 41.02 kB / 0.5865 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.3561, allocations: 0.9975 MB / 0.5875 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.3563, allocations: 0.8232 MB / 0.5883 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.3564, allocations: 38.95 kB / 0.5884 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.3565, allocations: 27.42 kB / 0.5884 GB, free: 5.258 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3565, allocations: 0 / 0.5884 GB, free: 5.258 MB / 398.1 MB Notification: Performance of Templates: time 0.01111/0.3676, allocations: 7.561 MB / 0.5958 GB, free: 13.72 MB / 414.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)