Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.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.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",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.001051/0.001051, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001449/0.001449, allocations: 191.6 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4877/0.4877, allocations: 91.91 MB / 431.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 83.81 kB / 0.502 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3077, allocations: 71.26 MB / 0.5716 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003192/0.3109, allocations: 3.394 MB / 0.5749 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3122, allocations: 1.061 MB / 0.5759 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3123, allocations: 5.25 kB / 0.5759 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.3126, allocations: 96.83 kB / 0.576 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.3129, allocations: 166.7 kB / 0.5762 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.3134, allocations: 361.1 kB / 0.5765 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.3138, allocations: 0.5981 MB / 0.5771 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.314, allocations: 153.7 kB / 0.5773 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3142, allocations: 257.3 kB / 0.5775 GB, free: 33.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.3144, allocations: 273.1 kB / 0.5778 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.3145, allocations: 59.09 kB / 0.5778 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3147, allocations: 98.94 kB / 0.5779 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.3147, allocations: 117.7 kB / 0.578 GB, free: 33.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.3149, allocations: 271.1 kB / 0.5783 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.3153, allocations: 0.6688 MB / 0.5789 GB, free: 32.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3153, allocations: 0 / 0.5789 GB, free: 32.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3153, allocations: 0 / 0.5789 GB, free: 32.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3154, allocations: 3.938 kB / 0.5789 GB, free: 32.86 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001183/0.3165, allocations: 0.8364 MB / 0.5798 GB, free: 32.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3166, allocations: 8.906 kB / 0.5798 GB, free: 32.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.3166, allocations: 66.95 kB / 0.5798 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.3176, allocations: 175 kB / 0.58 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3179, allocations: 390.6 kB / 0.5804 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.318, allocations: 70.33 kB / 0.5804 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.3181, allocations: 28.38 kB / 0.5805 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/0.3188, allocations: 389.5 kB / 0.5808 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3188, allocations: 1.781 kB / 0.5808 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.3188, allocations: 10.62 kB / 0.5808 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3189, allocations: 7.438 kB / 0.5809 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.3195, allocations: 329.4 kB / 0.5812 GB, free: 31.48 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.002149/0.3216, allocations: 1.871 MB / 0.583 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/0.3225, allocations: 0.8152 MB / 0.5838 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.3229, allocations: 187.9 kB / 0.584 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.3229, allocations: 2.812 kB / 0.584 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/0.3229, allocations: 30.56 kB / 0.584 GB, free: 29.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.3229, allocations: 4 kB / 0.584 GB, free: 29.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004262/0.3272, allocations: 1.251 MB / 0.5852 GB, free: 28.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.3272, allocations: 55.34 kB / 0.5853 GB, free: 28.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.3276, allocations: 430.2 kB / 0.5857 GB, free: 28.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3276, allocations: 34.22 kB / 0.5857 GB, free: 28.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3277, allocations: 254 kB / 0.586 GB, free: 28.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.3278, allocations: 87.84 kB / 0.586 GB, free: 28.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3279, allocations: 70.92 kB / 0.5861 GB, free: 28.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.328, allocations: 353.3 kB / 0.5865 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.3284, allocations: 187.7 kB / 0.5866 GB, free: 27.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.3288, allocations: 228.6 kB / 0.5868 GB, free: 27.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004449/0.3332, allocations: 1.291 MB / 0.5881 GB, free: 27.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3332, allocations: 5.125 kB / 0.5881 GB, free: 27.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00214/0.3354, allocations: 0.8409 MB / 0.5889 GB, free: 27.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3354, allocations: 10.16 kB / 0.5889 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3354, allocations: 3.25 kB / 0.5889 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/0.3375, allocations: 0.5625 MB / 0.5895 GB, free: 27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/0.3383, allocations: 141.6 kB / 0.5896 GB, free: 27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00632/0.3446, allocations: 3.2 MB / 0.5928 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.345, allocations: 43.86 kB / 0.5928 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.345, allocations: 16.53 kB / 0.5928 GB, free: 24.89 MB / 430.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.0001844/0.3452, allocations: 182.4 kB / 0.593 GB, free: 24.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.3453, allocations: 39.91 kB / 0.593 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.3476, allocations: 0.7798 MB / 0.5938 GB, free: 24.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3476, allocations: 8.047 kB / 0.5938 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3476, allocations: 4 kB / 0.5938 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3476, allocations: 3.281 kB / 0.5938 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.3505, allocations: 1.467 MB / 0.5952 GB, free: 23.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3505, allocations: 0 / 0.5952 GB, free: 23.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.3514, allocations: 124.6 kB / 0.5954 GB, free: 23.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/0.3539, allocations: 0.6299 MB / 0.596 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.354, allocations: 15.19 kB / 0.596 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006301/0.3603, allocations: 3.18 MB / 0.5991 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3603, allocations: 7.875 kB / 0.5991 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.3632, allocations: 1.049 MB / 0.6001 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.3633, allocations: 123.2 kB / 0.6002 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/0.3633, allocations: 7.109 kB / 0.6002 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.3637, allocations: 23.84 kB / 0.6003 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.3639, allocations: 60.84 kB / 0.6003 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3639, allocations: 11.66 kB / 0.6003 GB, free: 20.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.3643, allocations: 299.5 kB / 0.6006 GB, free: 20.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3643, allocations: 0 / 0.6006 GB, free: 20.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006044/0.3649, allocations: 134.2 kB / 0.6008 GB, free: 20.68 MB / 430.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.002733/0.3676, allocations: 1.509 MB / 0.6022 GB, free: 19.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.3704, allocations: 0.778 MB / 0.603 GB, free: 19.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3704, allocations: 0.5312 kB / 0.603 GB, free: 19.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.3726, allocations: 0.5723 MB / 0.6035 GB, free: 19.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.373, allocations: 35.64 kB / 0.6036 GB, free: 19.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009976/0.383, allocations: 4.864 MB / 0.6083 GB, free: 16.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.3833, allocations: 0.821 MB / 0.6091 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.3834, allocations: 36.94 kB / 0.6092 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3836, allocations: 151.9 kB / 0.6093 GB, free: 15.7 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3836, allocations: 0 / 0.6093 GB, free: 15.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.4155, allocations: 11.87 MB / 0.6209 GB, free: 11.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.71, allocations: 8.391 kB / 0.6209 GB, free: 11.34 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)