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.001367/0.001367, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001845/0.001846, allocations: 168.7 kB / 15.95 MB, free: 204 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.553/1.553, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2004/0.2004, allocations: 14.17 MB / 305.3 MB, free: 1.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 15.94 kB / 369.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 53.93 MB / 423.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.2221/0.3462, allocations: 7.658 MB / 431.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005858/0.3521, allocations: 3.666 MB / 435.1 MB, free: 33.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009708/0.3531, allocations: 20.84 kB / 435.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000984/0.3541, allocations: 367.8 kB / 435.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003548/0.3577, allocations: 1.353 MB / 436.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.3587, allocations: 0.5469 MB / 437.3 MB, free: 32.45 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092: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:1092:9-1092: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:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transformer.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.00239/0.3611, allocations: 1.918 MB / 439.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008508/0.3619, allocations: 0.5076 MB / 439.8 MB, free: 31.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008541/0.3628, allocations: 0.5636 MB / 440.3 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006299/0.3634, allocations: 0.6389 MB / 441 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.3635, allocations: 36.81 kB / 441 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.3645, allocations: 374.9 kB / 441.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.3646, allocations: 139.1 kB / 441.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.3649, allocations: 251.2 kB / 441.7 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.3658, allocations: 1.235 MB / 443 MB, free: 29.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3659, allocations: 4 kB / 443 MB, free: 29.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3659, allocations: 0 / 443 MB, free: 29.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3659, allocations: 3.031 kB / 443 MB, free: 29.93 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.005486/0.3714, allocations: 1.93 MB / 444.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3714, allocations: 9.906 kB / 444.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.3716, allocations: 139.3 kB / 445.1 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.3721, allocations: 172.3 kB / 445.2 MB, free: 28.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.3731, allocations: 0.7351 MB / 446 MB, free: 28.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.3732, allocations: 74.16 kB / 446 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.3733, allocations: 92.03 kB / 446.1 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.3744, allocations: 0.8728 MB / 447 MB, free: 27.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3744, allocations: 3.938 kB / 447 MB, free: 27.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.3745, allocations: 38.3 kB / 447 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.3745, allocations: 22.12 kB / 447.1 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.3755, allocations: 0.7843 MB / 447.8 MB, free: 27.49 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.004095/0.3796, allocations: 5.846 MB / 453.7 MB, free: 22.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.381, allocations: 1 MB / 454.7 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.3813, allocations: 322.7 kB / 455 MB, free: 21.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.3814, allocations: 18.11 kB / 455 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.3814, allocations: 45.5 kB / 455.1 MB, free: 21.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 2.785e-06/0.3814, allocations: 3.984 kB / 455.1 MB, free: 21.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=86): time 0.004188/0.3856, allocations: 1.698 MB / 456.8 MB, free: 21.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3857, allocations: 113.4 kB / 456.9 MB, free: 20.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.3864, allocations: 0.6659 MB / 457.5 MB, free: 20.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.3864, allocations: 40.45 kB / 457.6 MB, free: 20.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.3867, allocations: 458.4 kB / 458 MB, free: 20.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.3869, allocations: 335.1 kB / 458.4 MB, free: 20.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.3869, allocations: 29.56 kB / 458.4 MB, free: 19.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.387, allocations: 406.2 kB / 458.8 MB, free: 19.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009404/0.388, allocations: 398 kB / 459.2 MB, free: 19.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.3891, allocations: 0.6433 MB / 459.8 MB, free: 19.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.39, allocations: 0.5042 MB / 460.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.39, allocations: 3.062 kB / 460.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002327/0.3923, allocations: 1.564 MB / 461.9 MB, free: 18.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3923, allocations: 5.875 kB / 461.9 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.3924, allocations: 9.125 kB / 461.9 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3934, allocations: 300.5 kB / 462.2 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.3947, allocations: 348.2 kB / 462.5 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.3985, allocations: 3.026 MB / 465.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.3996, allocations: 105.4 kB / 465.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/0.3997, allocations: 58.83 kB / 465.7 MB, free: 15.79 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.0003943/0.4001, allocations: 278.2 kB / 466 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.4003, allocations: 94.69 kB / 466.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.4019, allocations: 0.9312 MB / 467 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.402, allocations: 8.156 kB / 467 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.402, allocations: 1.031 kB / 467 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.402, allocations: 5.344 kB / 467 MB, free: 15.08 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.003647/0.4056, allocations: 2.221 MB / 469.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4057, allocations: 1.75 kB / 469.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.4063, allocations: 159.6 kB / 469.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.4073, allocations: 283.8 kB / 469.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.4073, allocations: 17.75 kB / 469.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.411, allocations: 2.931 MB / 472.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.411, allocations: 1.531 kB / 472.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.4129, allocations: 1.017 MB / 473.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.4132, allocations: 228.9 kB / 473.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.4133, allocations: 16.89 kB / 473.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.4138, allocations: 34.66 kB / 473.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4139, allocations: 65.89 kB / 474 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.414, allocations: 19.48 kB / 474 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005843/0.4146, allocations: 443.8 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4146, allocations: 0 / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0012/0.4158, allocations: 423 kB / 474.9 MB, free: 10.54 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.001938/0.4177, allocations: 1.658 MB / 476.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.4197, allocations: 1.228 MB / 477.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4197, allocations: 1.531 kB / 477.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008842/0.4206, allocations: 0.5803 MB / 478.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/0.4214, allocations: 92.91 kB / 478.4 MB, free: 8.531 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.008763/0.4302, allocations: 5.401 MB / 483.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.4307, allocations: 0.9985 MB / 484.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006192/0.4314, allocations: 131.2 kB / 484.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.4318, allocations: 337.1 kB / 485.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4318, allocations: 1 kB / 485.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05631/0.4881, allocations: 20.65 MB / 0.4941 GB, free: 5.305 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/0.4884, allocations: 223.8 kB / 0.4943 GB, free: 5.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/2.805, allocations: 0 / 0.4943 GB, free: 5.062 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)