Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.0009899/0.0009897, allocations: 99.86 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.0009925/0.0009926, 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.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2428/0.2428, allocations: 14.17 MB / 305.1 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 16 kB / 369.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 53.92 MB / 423.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.2784/0.4072, allocations: 3.427 MB / 427 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00333/0.4106, allocations: 2.192 MB / 429.2 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.4109, allocations: 9.344 kB / 429.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.4115, allocations: 196.7 kB / 429.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.4137, allocations: 0.9226 MB / 430.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.4142, allocations: 274.7 kB / 430.6 MB, free: 37.16 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.001057/0.4153, allocations: 0.6232 MB / 431.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.4158, allocations: 339.2 kB / 431.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.4161, allocations: 265.2 kB / 431.8 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.4164, allocations: 267.9 kB / 432.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.4164, allocations: 14.12 kB / 432.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.417, allocations: 241.8 kB / 432.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.4171, allocations: 54.05 kB / 432.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.238e-05/0.4172, allocations: 115.1 kB / 432.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.4177, allocations: 0.5551 MB / 433.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4177, allocations: 0 / 433.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4177, allocations: 0 / 433.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4177, allocations: 0 / 433.1 MB, free: 36.21 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002645/0.4204, allocations: 0.9605 MB / 434 MB, free: 35.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4204, allocations: 9.094 kB / 434 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.863e-05/0.4205, allocations: 72.58 kB / 434.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.4208, allocations: 77.17 kB / 434.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.4214, allocations: 409.8 kB / 434.6 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.4215, allocations: 30.31 kB / 434.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.4215, allocations: 39.09 kB / 434.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.4221, allocations: 367.8 kB / 435 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4221, allocations: 0 / 435 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.4222, allocations: 14.94 kB / 435 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.4222, allocations: 12.67 kB / 435 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.4227, allocations: 316.4 kB / 435.3 MB, free: 34.84 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.001976/0.4247, allocations: 2.352 MB / 437.7 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008596/0.4256, allocations: 0.5619 MB / 438.3 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.4256, allocations: 9.812 kB / 438.3 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4256, allocations: 42.95 kB / 438.3 MB, free: 32.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.533e-06/0.4256, allocations: 0 / 438.3 MB, free: 32.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001969/0.4276, allocations: 0.7421 MB / 439.1 MB, free: 32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4277, allocations: 87.02 kB / 439.1 MB, free: 31.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.428, allocations: 331.3 kB / 439.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.428, allocations: 37.17 kB / 439.5 MB, free: 31.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.4281, allocations: 207 kB / 439.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4282, allocations: 141.9 kB / 439.8 MB, free: 31.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.4283, allocations: 15.25 kB / 439.9 MB, free: 31.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.4284, allocations: 354.8 kB / 440.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.4286, allocations: 151 kB / 440.3 MB, free: 30.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.4288, allocations: 211.2 kB / 440.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.4291, allocations: 188.7 kB / 440.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4291, allocations: 0 / 440.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001056/0.4302, allocations: 0.6248 MB / 441.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4302, allocations: 3.312 kB / 441.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4302, allocations: 4.375 kB / 441.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/0.4309, allocations: 158.9 kB / 441.5 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.4314, allocations: 123.8 kB / 441.6 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.434, allocations: 2.123 MB / 443.8 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.4344, allocations: 37.52 kB / 443.8 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.4344, allocations: 13.78 kB / 443.8 MB, free: 28.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 60 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.4346, allocations: 176.5 kB / 444 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.4347, allocations: 38 kB / 444 MB, free: 28.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009266/0.4357, allocations: 473.2 kB / 444.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4357, allocations: 3.219 kB / 444.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4357, allocations: 6.516 kB / 444.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4357, allocations: 3.422 kB / 444.5 MB, free: 28.36 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.001633/0.4373, allocations: 1.191 MB / 445.7 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4374, allocations: 3.938 kB / 445.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.4376, allocations: 73.3 kB / 445.8 MB, free: 27.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006174/0.4382, allocations: 155.1 kB / 445.9 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.4383, allocations: 5 kB / 445.9 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.4406, allocations: 2.063 MB / 448 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4406, allocations: 0 / 448 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.4416, allocations: 0.556 MB / 448.5 MB, free: 25.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.4418, allocations: 143.3 kB / 448.7 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.4418, allocations: 7.219 kB / 448.7 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.4421, allocations: 15 kB / 448.7 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.4421, allocations: 27 kB / 448.7 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.4422, allocations: 17.48 kB / 448.8 MB, free: 25.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.4424, allocations: 228.3 kB / 449 MB, free: 25.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4424, allocations: 0 / 449 MB, free: 25.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006748/0.4431, allocations: 181.1 kB / 449.2 MB, free: 25.17 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 (27): * Single equations (assignments): 26 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.4443, allocations: 1.189 MB / 450.3 MB, free: 24.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4454, allocations: 0.5834 MB / 450.9 MB, free: 23.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4454, allocations: 128 / 450.9 MB, free: 23.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.446, allocations: 364.7 kB / 451.3 MB, free: 23.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.4464, allocations: 40.23 kB / 451.3 MB, free: 23.73 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.001544/0.4479, allocations: 1.45 MB / 452.8 MB, free: 22.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4482, allocations: 0.8261 MB / 453.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.4484, allocations: 43.5 kB / 453.6 MB, free: 21.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4486, allocations: 134.8 kB / 453.8 MB, free: 21.79 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4486, allocations: 0 / 453.8 MB, free: 21.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.4745, allocations: 9.693 MB / 463.5 MB, free: 21.05 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.4747, allocations: 209.2 kB / 463.7 MB, free: 20.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.442, allocations: 0 / 463.7 MB, free: 20.81 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1)