Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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/Complex 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/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatio",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.0008812/0.0008812, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009077/0.0009076, allocations: 177.3 kB / 15.94 MB, free: 228 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.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1862/0.1862, allocations: 14.17 MB / 305.1 MB, free: 1.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 12 kB / 369.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 53.91 MB / 423.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.2451/0.3669, allocations: 6.942 MB / 430.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.3725, allocations: 3.629 MB / 434.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00093/0.3735, allocations: 27.22 kB / 434.2 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.3747, allocations: 353.4 kB / 434.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.3797, allocations: 1.49 MB / 436 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3813, allocations: 0.5534 MB / 436.6 MB, free: 32.87 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘loadPQ.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transformer.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transformer.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003399/0.3848, allocations: 1.44 MB / 438 MB, free: 32.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008217/0.3856, allocations: 0.5103 MB / 438.5 MB, free: 31.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008632/0.3865, allocations: 0.5922 MB / 439.1 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006273/0.3871, allocations: 0.6165 MB / 439.7 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.3872, allocations: 35.47 kB / 439.8 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.3883, allocations: 361.6 kB / 440.1 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3884, allocations: 137.9 kB / 440.3 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3886, allocations: 253.8 kB / 440.5 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.3897, allocations: 1.214 MB / 441.7 MB, free: 30.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.3898, allocations: 3.031 kB / 441.7 MB, free: 30.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3898, allocations: 0 / 441.7 MB, free: 30.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.3898, allocations: 0 / 441.7 MB, free: 30.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.006379/0.3962, allocations: 1.925 MB / 443.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3962, allocations: 10.12 kB / 443.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.3965, allocations: 143.3 kB / 443.8 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.3971, allocations: 167.4 kB / 444 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.3982, allocations: 0.7421 MB / 444.7 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.3983, allocations: 71.38 kB / 444.8 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3984, allocations: 94.84 kB / 444.9 MB, free: 28.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3996, allocations: 0.8631 MB / 445.7 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3996, allocations: 3.938 kB / 445.7 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.3997, allocations: 40.2 kB / 445.8 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.3997, allocations: 21.28 kB / 445.8 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.4009, allocations: 0.781 MB / 446.6 MB, free: 28.1 MB / 350.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.005119/0.406, allocations: 5.942 MB / 452.5 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.4075, allocations: 1.001 MB / 453.5 MB, free: 22.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.917e-05/0.4076, allocations: 19.2 kB / 453.5 MB, free: 22.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4077, allocations: 46.41 kB / 453.6 MB, free: 22.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 3.436e-06/0.4077, allocations: 0 / 453.6 MB, free: 22.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=86): time 0.004228/0.4119, allocations: 1.614 MB / 455.2 MB, free: 21.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.412, allocations: 121.3 kB / 455.3 MB, free: 21.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/0.4127, allocations: 0.6664 MB / 456 MB, free: 21.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.455e-05/0.4128, allocations: 44.27 kB / 456 MB, free: 21.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.413, allocations: 465.3 kB / 456.5 MB, free: 20.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.4133, allocations: 325.8 kB / 456.8 MB, free: 20.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.4134, allocations: 30.41 kB / 456.8 MB, free: 20.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4135, allocations: 403.7 kB / 457.2 MB, free: 20.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.414, allocations: 402.2 kB / 457.6 MB, free: 20.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.4146, allocations: 0.64 MB / 458.3 MB, free: 19.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.4153, allocations: 0.5039 MB / 458.8 MB, free: 19.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4154, allocations: 6.719 kB / 458.8 MB, free: 19.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002408/0.4178, allocations: 1.552 MB / 460.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.4178, allocations: 8.875 kB / 460.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4178, allocations: 5.062 kB / 460.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4189, allocations: 306.3 kB / 460.6 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.4202, allocations: 347 kB / 461 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.4241, allocations: 3.116 MB / 464.1 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.4253, allocations: 103.3 kB / 464.2 MB, free: 16.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/0.4254, allocations: 56.09 kB / 464.2 MB, free: 16.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (175): * Single equations (assignments): 174 * 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 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.000465/0.4259, allocations: 284.7 kB / 464.5 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.426, allocations: 95.56 kB / 464.6 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.4278, allocations: 0.9288 MB / 465.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.4278, allocations: 9.344 kB / 465.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.4278, allocations: 0 / 465.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4278, allocations: 2.906 kB / 465.6 MB, free: 15.69 MB / 350.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 postOpt removeSimpleEquations (simulation): time 0.003172/0.431, allocations: 2.22 MB / 467.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.431, allocations: 4.188 kB / 467.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.4317, allocations: 158.4 kB / 467.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009817/0.4327, allocations: 298.3 kB / 468.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.4328, allocations: 12.31 kB / 468.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/0.4367, allocations: 3.018 MB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4367, allocations: 1.094 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.4387, allocations: 1.058 MB / 472.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.4391, allocations: 229.5 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4392, allocations: 16.83 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.4397, allocations: 30.33 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4399, allocations: 57.89 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.4399, allocations: 24.2 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007117/0.4406, allocations: 440.2 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4407, allocations: 0 / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001643/0.4423, allocations: 422.5 kB / 473.5 MB, free: 11.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (62): * Single equations (assignments): 61 * 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 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00271/0.445, allocations: 1.898 MB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.4478, allocations: 1.228 MB / 476.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4479, allocations: 0 / 476.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000996/0.4489, allocations: 0.5806 MB / 477.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.4496, allocations: 85.03 kB / 477.3 MB, free: 8.797 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.4542, allocations: 6.537 MB / 483.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.4549, allocations: 1.02 MB / 484.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006871/0.4556, allocations: 125.7 kB / 485 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.456, allocations: 338.4 kB / 485.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.456, allocations: 0 / 485.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.4992, allocations: 20.27 MB / 0.4937 GB, free: 5.594 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.4995, allocations: 213 kB / 0.4939 GB, free: 5.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.693, allocations: 0 / 0.4939 GB, free: 5.355 MB / 366.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatio_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TestTransformerFixedRatio.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1)