Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_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.001013/0.001013, allocations: 100 kB / 15.05 MB, free: 1.105 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.313/1.313, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001064/0.001064, allocations: 180.5 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4524/0.4524, allocations: 78.54 MB / 419.8 MB, free: 4.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 16 kB / 499.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 69.35 MB / 0.5558 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2283/0.3764, allocations: 2.903 MB / 0.5586 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3778, allocations: 1.034 MB / 0.5596 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.378, allocations: 2.312 kB / 0.5596 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.3783, allocations: 79.28 kB / 0.5597 GB, free: 36.88 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.0003282/0.3786, allocations: 175.7 kB / 0.5598 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.3791, allocations: 262 kB / 0.5601 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.3795, allocations: 385.5 kB / 0.5605 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.3797, allocations: 120.8 kB / 0.5606 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.3799, allocations: 212.8 kB / 0.5608 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.3802, allocations: 226.2 kB / 0.561 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.3803, allocations: 27.91 kB / 0.561 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3804, allocations: 67.5 kB / 0.5611 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.3805, allocations: 85.62 kB / 0.5612 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.3806, allocations: 106.2 kB / 0.5613 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.381, allocations: 0.4953 MB / 0.5618 GB, free: 36.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.381, allocations: 0.5312 kB / 0.5618 GB, free: 36.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.381, allocations: 1.875 kB / 0.5618 GB, free: 36.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.381, allocations: 0 / 0.5618 GB, free: 36.61 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.001185/0.3822, allocations: 0.7667 MB / 0.5625 GB, free: 36.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3822, allocations: 10.16 kB / 0.5625 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.773e-05/0.3823, allocations: 66.73 kB / 0.5626 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009402/0.3833, allocations: 172.3 kB / 0.5627 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.3837, allocations: 383.7 kB / 0.5631 GB, free: 35.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.926e-05/0.3838, allocations: 63.8 kB / 0.5632 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.3839, allocations: 25.72 kB / 0.5632 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.3847, allocations: 402.3 kB / 0.5636 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3847, allocations: 0 / 0.5636 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.3847, allocations: 13.64 kB / 0.5636 GB, free: 35.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3847, allocations: 7.625 kB / 0.5636 GB, free: 35.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.3854, allocations: 347.9 kB / 0.5639 GB, free: 35.68 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.002297/0.3877, allocations: 2.066 MB / 0.566 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008854/0.3886, allocations: 0.8456 MB / 0.5668 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.3886, allocations: 4.062 kB / 0.5668 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.3886, allocations: 33.12 kB / 0.5668 GB, free: 34.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.314e-06/0.3887, allocations: 0.5625 kB / 0.5668 GB, free: 34.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004503/0.3932, allocations: 1.408 MB / 0.5682 GB, free: 33.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.3932, allocations: 54.25 kB / 0.5682 GB, free: 33.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.3936, allocations: 423 kB / 0.5686 GB, free: 33.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.3936, allocations: 36.75 kB / 0.5687 GB, free: 33.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3938, allocations: 261.7 kB / 0.5689 GB, free: 33.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.3938, allocations: 80.52 kB / 0.569 GB, free: 33.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.3939, allocations: 8.469 kB / 0.569 GB, free: 33.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.394, allocations: 359.4 kB / 0.5694 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.3943, allocations: 194.8 kB / 0.5695 GB, free: 33.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.3947, allocations: 255.6 kB / 0.5698 GB, free: 33.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.3951, allocations: 203.9 kB / 0.57 GB, free: 33.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3952, allocations: 0 / 0.57 GB, free: 33.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002234/0.3974, allocations: 0.9409 MB / 0.5709 GB, free: 32.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3974, allocations: 13.08 kB / 0.5709 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3974, allocations: 0.6875 kB / 0.5709 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/0.3996, allocations: 0.6507 MB / 0.5715 GB, free: 32.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.4005, allocations: 180.9 kB / 0.5717 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/0.407, allocations: 3.247 MB / 0.5749 GB, free: 31.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.4074, allocations: 51.72 kB / 0.5749 GB, free: 31.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.4075, allocations: 14.36 kB / 0.575 GB, free: 31.54 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.4077, allocations: 162.4 kB / 0.5751 GB, free: 31.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.4078, allocations: 49.09 kB / 0.5752 GB, free: 31.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.4101, allocations: 0.8678 MB / 0.576 GB, free: 31.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4101, allocations: 2.625 kB / 0.576 GB, free: 31.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4101, allocations: 5.25 kB / 0.576 GB, free: 31.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4101, allocations: 0 / 0.576 GB, free: 31.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.4131, allocations: 1.634 MB / 0.5776 GB, free: 30.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4132, allocations: 0 / 0.5776 GB, free: 30.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/0.4141, allocations: 161.3 kB / 0.5778 GB, free: 30.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/0.4166, allocations: 0.7277 MB / 0.5785 GB, free: 30.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.4167, allocations: 21.39 kB / 0.5785 GB, free: 30.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006226/0.4229, allocations: 3.219 MB / 0.5816 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4229, allocations: 1.172 kB / 0.5816 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.4257, allocations: 1.172 MB / 0.5828 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.4258, allocations: 123.5 kB / 0.5829 GB, free: 28.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.4259, allocations: 10.61 kB / 0.5829 GB, free: 28.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.4262, allocations: 31.88 kB / 0.5829 GB, free: 28.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.4264, allocations: 63.94 kB / 0.583 GB, free: 28.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.4264, allocations: 10.31 kB / 0.583 GB, free: 28.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002917/0.4267, allocations: 292.7 kB / 0.5833 GB, free: 28.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4267, allocations: 1.219 kB / 0.5833 GB, free: 28.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.4273, allocations: 130 kB / 0.5834 GB, free: 28.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002757/0.43, allocations: 1.605 MB / 0.585 GB, free: 27.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.4327, allocations: 0.8089 MB / 0.5858 GB, free: 26.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4327, allocations: 1.219 kB / 0.5858 GB, free: 26.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/0.435, allocations: 0.6155 MB / 0.5864 GB, free: 26.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4353, allocations: 30.73 kB / 0.5864 GB, free: 26.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007308/0.4426, allocations: 3.853 MB / 0.5902 GB, free: 24.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.4429, allocations: 0.8318 MB / 0.591 GB, free: 23.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.443, allocations: 39.08 kB / 0.591 GB, free: 23.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.4432, allocations: 149.8 kB / 0.5912 GB, free: 23.79 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4432, allocations: 1.125 kB / 0.5912 GB, free: 23.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.4682, allocations: 10.72 MB / 0.6016 GB, free: 23.05 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/0.4684, allocations: 212.7 kB / 0.6018 GB, free: 22.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.297, allocations: 1.031 kB / 0.6018 GB, free: 22.81 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) Environment - environmentSimulation: