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.001203/0.001203, allocations: 100.1 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.001357/0.001357, allocations: 177.3 kB / 15.95 MB, free: 216 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.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2403/0.2403, allocations: 14.17 MB / 305.1 MB, free: 1.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 8 kB / 369.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1461, allocations: 53.93 MB / 423.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.2576/0.4038, allocations: 3.424 MB / 427 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.4074, allocations: 2.189 MB / 429.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.4078, allocations: 12.34 kB / 429.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.4084, allocations: 185.5 kB / 429.4 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.4106, allocations: 0.9359 MB / 430.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.4112, allocations: 269.3 kB / 430.6 MB, free: 36.62 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‘ Notification: Performance of NFFlatten.flatten: time 0.001238/0.4125, allocations: 0.6189 MB / 431.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005286/0.413, allocations: 338.2 kB / 431.6 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.4134, allocations: 268.6 kB / 431.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.4137, allocations: 251.8 kB / 432.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.4138, allocations: 12.19 kB / 432.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006446/0.4144, allocations: 239.4 kB / 432.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.4145, allocations: 56.77 kB / 432.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.4146, allocations: 117.9 kB / 432.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.4152, allocations: 0.547 MB / 433 MB, free: 36.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4152, allocations: 4 kB / 433 MB, free: 36.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4152, allocations: 0 / 433 MB, free: 36.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4152, allocations: 2.969 kB / 433 MB, free: 36.01 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.002679/0.4179, allocations: 0.9412 MB / 434 MB, free: 35.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.418, allocations: 9 kB / 434 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.776e-05/0.418, allocations: 68.86 kB / 434.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.4183, allocations: 78.95 kB / 434.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.4189, allocations: 412.4 kB / 434.5 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.419, allocations: 27.44 kB / 434.6 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.419, allocations: 34.69 kB / 434.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.4196, allocations: 368.6 kB / 435 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4196, allocations: 0 / 435 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.4196, allocations: 16.03 kB / 435 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4197, allocations: 12.83 kB / 435 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.4201, allocations: 297.5 kB / 435.3 MB, free: 34.65 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.002256/0.4224, allocations: 2.358 MB / 437.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.4232, allocations: 470.1 kB / 438.1 MB, free: 32.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/0.4233, allocations: 7.953 kB / 438.1 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.4233, allocations: 38.58 kB / 438.1 MB, free: 32.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 3.437e-06/0.4234, allocations: 2.25 kB / 438.1 MB, free: 32.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002145/0.4255, allocations: 0.727 MB / 438.9 MB, free: 31.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4256, allocations: 84.77 kB / 439 MB, free: 31.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.4259, allocations: 333.5 kB / 439.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.4259, allocations: 32.7 kB / 439.3 MB, free: 31.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.4261, allocations: 214.5 kB / 439.5 MB, free: 31.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.931e-05/0.4262, allocations: 136.1 kB / 439.7 MB, free: 31.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.4262, allocations: 11.53 kB / 439.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4263, allocations: 355.2 kB / 440 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.4265, allocations: 150.4 kB / 440.2 MB, free: 30.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.4267, allocations: 207.7 kB / 440.4 MB, free: 30.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.427, allocations: 181.5 kB / 440.5 MB, free: 30.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.427, allocations: 10.91 kB / 440.5 MB, free: 30.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001091/0.4281, allocations: 0.6054 MB / 441.2 MB, free: 30.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4282, allocations: 9.75 kB / 441.2 MB, free: 30.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4282, allocations: 3.938 kB / 441.2 MB, free: 30.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006732/0.4288, allocations: 149.8 kB / 441.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.4293, allocations: 119.9 kB / 441.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.4319, allocations: 2.096 MB / 443.5 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.4323, allocations: 34.19 kB / 443.6 MB, free: 28.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.4323, allocations: 16.97 kB / 443.6 MB, free: 28.68 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.0002511/0.4326, allocations: 177.2 kB / 443.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.4327, allocations: 48 kB / 443.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.4336, allocations: 449.2 kB / 444.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4337, allocations: 3.375 kB / 444.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4337, allocations: 0 / 444.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4337, allocations: 7.031 kB / 444.2 MB, free: 28.29 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.001563/0.4352, allocations: 1.117 MB / 445.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4353, allocations: 4.656 kB / 445.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.4355, allocations: 61.5 kB / 445.4 MB, free: 27.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006478/0.4362, allocations: 147.8 kB / 445.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.4362, allocations: 7.219 kB / 445.6 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.4386, allocations: 2.036 MB / 447.6 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4386, allocations: 0.75 kB / 447.6 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.4396, allocations: 0.5324 MB / 448.1 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.4397, allocations: 149.7 kB / 448.3 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.4398, allocations: 7 kB / 448.3 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.44, allocations: 22.39 kB / 448.3 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.4401, allocations: 23.41 kB / 448.3 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.4401, allocations: 14.8 kB / 448.4 MB, free: 25.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.4404, allocations: 226.1 kB / 448.6 MB, free: 25.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4404, allocations: 0 / 448.6 MB, free: 25.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007044/0.4411, allocations: 172.2 kB / 448.8 MB, free: 25.19 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.001216/0.4423, allocations: 1.194 MB / 449.9 MB, free: 24.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009317/0.4433, allocations: 0.535 MB / 450.5 MB, free: 23.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4433, allocations: 0 / 450.5 MB, free: 23.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.4437, allocations: 321.7 kB / 450.8 MB, free: 23.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4441, allocations: 37.31 kB / 450.8 MB, free: 23.75 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.00168/0.4457, allocations: 1.576 MB / 452.4 MB, free: 22.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4461, allocations: 0.8161 MB / 453.2 MB, free: 21.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.4463, allocations: 49.78 kB / 453.3 MB, free: 21.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.4465, allocations: 125.1 kB / 453.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4465, allocations: 0 / 453.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.4717, allocations: 9.602 MB / 463 MB, free: 20.94 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.4719, allocations: 212.4 kB / 463.2 MB, free: 20.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.45, allocations: 0 / 463.2 MB, free: 20.69 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)