Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.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.OneBusOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusOneLoad",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.001043/0.001043, allocations: 84.22 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.001419/0.00142, 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.563/1.563, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2735/0.2735, allocations: 14.18 MB / 305.3 MB, free: 1.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 8 kB / 369.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1213, allocations: 53.93 MB / 423.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.2513/0.3727, allocations: 3.707 MB / 427.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.3761, allocations: 2.23 MB / 429.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.3764, allocations: 14.06 kB / 429.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.377, allocations: 190.7 kB / 429.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.3789, allocations: 0.8859 MB / 430.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.3794, allocations: 264.2 kB / 431 MB, free: 36.22 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‘ Notification: Performance of NFFlatten.flatten: time 0.0008932/0.3803, allocations: 0.8264 MB / 431.8 MB, free: 36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.3808, allocations: 334.6 kB / 432.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.3811, allocations: 258 kB / 432.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.3815, allocations: 258.7 kB / 432.7 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.3815, allocations: 12.84 kB / 432.7 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006427/0.3822, allocations: 260.5 kB / 432.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.3822, allocations: 58.31 kB / 433 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3824, allocations: 111.9 kB / 433.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006965/0.3831, allocations: 0.5601 MB / 433.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3831, allocations: 0.75 kB / 433.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3831, allocations: 0 / 433.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3831, allocations: 0 / 433.7 MB, free: 35.46 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002564/0.3857, allocations: 0.9552 MB / 434.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.3857, allocations: 9.5 kB / 434.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.897e-05/0.3858, allocations: 67.38 kB / 434.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.3861, allocations: 75.38 kB / 434.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.3868, allocations: 411.9 kB / 435.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3868, allocations: 28.12 kB / 435.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.3869, allocations: 33.12 kB / 435.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.3874, allocations: 375.2 kB / 435.6 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3874, allocations: 0 / 435.6 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.3874, allocations: 14.94 kB / 435.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3875, allocations: 15.83 kB / 435.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.3879, allocations: 300 kB / 435.9 MB, free: 34.16 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.001893/0.3898, allocations: 2.35 MB / 438.3 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/0.3906, allocations: 467.7 kB / 438.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3907, allocations: 131.9 kB / 438.9 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.3908, allocations: 5.125 kB / 438.9 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.3908, allocations: 38.19 kB / 438.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.753e-06/0.3908, allocations: 0 / 438.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001952/0.3928, allocations: 0.757 MB / 439.7 MB, free: 31.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3928, allocations: 80.09 kB / 439.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.3931, allocations: 335.9 kB / 440.1 MB, free: 31.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3932, allocations: 33.7 kB / 440.1 MB, free: 31.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3933, allocations: 210.4 kB / 440.3 MB, free: 30.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.3934, allocations: 138.4 kB / 440.4 MB, free: 30.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.3934, allocations: 11.34 kB / 440.4 MB, free: 30.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.3935, allocations: 352.6 kB / 440.8 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3937, allocations: 156.4 kB / 440.9 MB, free: 30.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.394, allocations: 205.4 kB / 441.1 MB, free: 30.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.3943, allocations: 186.6 kB / 441.3 MB, free: 30.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3943, allocations: 0 / 441.3 MB, free: 30.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001019/0.3953, allocations: 0.6181 MB / 441.9 MB, free: 29.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3953, allocations: 6.562 kB / 441.9 MB, free: 29.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3953, allocations: 3.953 kB / 442 MB, free: 29.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.3959, allocations: 143.4 kB / 442.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.3964, allocations: 115.6 kB / 442.2 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.3987, allocations: 2.062 MB / 444.3 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.3991, allocations: 34.34 kB / 444.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.3991, allocations: 18.31 kB / 444.3 MB, free: 28.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (60): * Single equations (assignments): 59 * 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 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.3993, allocations: 171 kB / 444.5 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.3994, allocations: 42.19 kB / 444.5 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.4003, allocations: 452.7 kB / 445 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4003, allocations: 7.25 kB / 445 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4003, allocations: 3.25 kB / 445 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4003, allocations: 0 / 445 MB, free: 27.75 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.001427/0.4017, allocations: 1.116 MB / 446.1 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4017, allocations: 0 / 446.1 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.402, allocations: 69.25 kB / 446.2 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.4025, allocations: 148.6 kB / 446.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.4025, allocations: 4 kB / 446.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.4044, allocations: 1.996 MB / 448.3 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4044, allocations: 3.281 kB / 448.3 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.4052, allocations: 0.5246 MB / 448.8 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.4053, allocations: 137 kB / 449 MB, free: 24.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.4054, allocations: 14.48 kB / 449 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.4056, allocations: 14.94 kB / 449 MB, free: 24.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4057, allocations: 30.28 kB / 449 MB, free: 24.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.4057, allocations: 6.047 kB / 449 MB, free: 24.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.4059, allocations: 235.3 kB / 449.3 MB, free: 24.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4059, allocations: 0 / 449.3 MB, free: 24.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005804/0.4065, allocations: 170.2 kB / 449.4 MB, free: 24.69 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.4076, allocations: 1.111 MB / 450.5 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008314/0.4084, allocations: 0.5432 MB / 451.1 MB, free: 23.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4084, allocations: 0 / 451.1 MB, free: 23.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.4088, allocations: 317.8 kB / 451.4 MB, free: 23.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.4092, allocations: 49.78 kB / 451.4 MB, free: 23.33 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.00324/0.4125, allocations: 2.311 MB / 453.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.4128, allocations: 0.8079 MB / 454.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.413, allocations: 48.14 kB / 454.6 MB, free: 21.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.4132, allocations: 130.8 kB / 454.7 MB, free: 21.26 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4132, allocations: 0 / 454.7 MB, free: 21.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.4383, allocations: 9.783 MB / 464.5 MB, free: 20.52 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.4385, allocations: 213.3 kB / 464.7 MB, free: 20.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/2.533, allocations: 0 / 464.7 MB, free: 20.27 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_OneBusOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1)