Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.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.TestOneBusTransmissionLineWithBreakersOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad",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.001006/0.001006, 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.001103/0.001103, 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.383/1.383, 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.2269/0.2269, allocations: 14.17 MB / 305.1 MB, free: 1.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 12 kB / 369.7 MB, free: 6.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1214, allocations: 53.92 MB / 423.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.2516/0.3731, allocations: 7.24 MB / 430.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005628/0.3788, allocations: 3.702 MB / 434.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.3799, allocations: 27.72 kB / 434.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.381, allocations: 365.8 kB / 434.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00386/0.3849, allocations: 1.657 MB / 436.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/0.3858, allocations: 487.3 kB / 437.1 MB, free: 32.64 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 ‘transmissionLine.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 ‘transmissionLine.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003183/0.389, allocations: 1.582 MB / 438.6 MB, free: 31.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009153/0.39, allocations: 0.5254 MB / 439.2 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.3913, allocations: 0.6685 MB / 439.8 MB, free: 31.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00083/0.3922, allocations: 0.6594 MB / 440.5 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.571e-05/0.3923, allocations: 36.62 kB / 440.5 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.3934, allocations: 368.8 kB / 440.9 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3935, allocations: 149.1 kB / 441 MB, free: 30.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.3938, allocations: 263 kB / 441.3 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3952, allocations: 1.267 MB / 442.6 MB, free: 30.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3952, allocations: 0 / 442.6 MB, free: 30.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3952, allocations: 3.938 kB / 442.6 MB, free: 30.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.3952, allocations: 0 / 442.6 MB, free: 30.19 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.006635/0.4018, allocations: 2.02 MB / 444.6 MB, free: 29.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4019, allocations: 9.594 kB / 444.6 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002578/0.4022, allocations: 145.7 kB / 444.7 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.4029, allocations: 186.2 kB / 444.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.4042, allocations: 0.7742 MB / 445.7 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.4043, allocations: 118.4 kB / 445.8 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.4044, allocations: 97.56 kB / 445.9 MB, free: 28.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.4057, allocations: 0.9284 MB / 446.8 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4058, allocations: 3.938 kB / 446.8 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/0.4058, allocations: 41.53 kB / 446.9 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.4059, allocations: 22.06 kB / 446.9 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.4071, allocations: 0.8794 MB / 447.8 MB, free: 27.55 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.006003/0.4131, allocations: 6.139 MB / 453.9 MB, free: 22.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.4148, allocations: 1.027 MB / 454.9 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.4149, allocations: 10.59 kB / 455 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007329/0.4157, allocations: 0.7382 MB / 455.7 MB, free: 21.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/0.4157, allocations: 0 / 455.7 MB, free: 21.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.004814/0.4205, allocations: 1.844 MB / 457.5 MB, free: 20.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.4207, allocations: 384 kB / 457.9 MB, free: 20 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.4215, allocations: 0.6612 MB / 458.6 MB, free: 19.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/0.4216, allocations: 47.39 kB / 458.6 MB, free: 19.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.4219, allocations: 466.4 kB / 459.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.4222, allocations: 369.7 kB / 459.4 MB, free: 19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.4223, allocations: 36.81 kB / 459.5 MB, free: 18.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4225, allocations: 411.8 kB / 459.9 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.4231, allocations: 434.1 kB / 460.3 MB, free: 18.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.4238, allocations: 0.6682 MB / 461 MB, free: 18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.4246, allocations: 0.5857 MB / 461.6 MB, free: 17.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4246, allocations: 0 / 461.6 MB, free: 17.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002621/0.4273, allocations: 1.707 MB / 463.3 MB, free: 16.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.4273, allocations: 67.94 kB / 463.3 MB, free: 16.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4274, allocations: 10.16 kB / 463.3 MB, free: 16.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/0.4283, allocations: 289.7 kB / 463.6 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.4296, allocations: 347.5 kB / 464 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.4334, allocations: 3.053 MB / 467 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.4346, allocations: 104.5 kB / 467.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.4347, allocations: 54.84 kB / 467.2 MB, free: 14.5 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: 14 (transmissionLine.breakerStatusInternalB,transmissionLine.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.transmissionLine.breakerStatus,transmissionLine.breakerStatus,$PRE.transmissionLine.breakerStatusInternalA,$PRE.transmissionLine.breakerStatusInternalB) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 2 * 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.0004928/0.4352, allocations: 348.1 kB / 467.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4353, allocations: 100.2 kB / 467.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.4375, allocations: 1.118 MB / 468.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4375, allocations: 10.66 kB / 468.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4375, allocations: 4.375 kB / 468.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.4375, allocations: 8.031 kB / 468.7 MB, free: 13.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 postOpt removeSimpleEquations (simulation): time 0.003507/0.441, allocations: 2.525 MB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.4411, allocations: 1.375 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.4418, allocations: 168.2 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009461/0.4427, allocations: 280.9 kB / 471.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.4428, allocations: 24.17 kB / 471.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003862/0.4467, allocations: 2.963 MB / 474.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4467, allocations: 1.922 kB / 474.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.4492, allocations: 1.256 MB / 476 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/0.4497, allocations: 244.5 kB / 476.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4499, allocations: 23.05 kB / 476.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.4504, allocations: 32.62 kB / 476.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.4506, allocations: 81.36 kB / 476.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/0.4507, allocations: 28.42 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006813/0.4513, allocations: 434.7 kB / 476.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4514, allocations: 4 kB / 476.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001433/0.4528, allocations: 443.4 kB / 477.2 MB, free: 8.762 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: 9 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transmissionLine.breakerStatus) * Number of discrete states: 9 (transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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.002561/0.4554, allocations: 2.112 MB / 479.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.458, allocations: 1.527 MB / 480.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.458, allocations: 0.9688 kB / 480.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.4592, allocations: 0.8307 MB / 481.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.46, allocations: 93.05 kB / 481.8 MB, free: 6.008 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.00551/0.4655, allocations: 6.721 MB / 488.5 MB, free: 16.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008643/0.4664, allocations: 1.043 MB / 489.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007637/0.4672, allocations: 145 kB / 489.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.4677, allocations: 362.7 kB / 490 MB, free: 15.03 MB / 366.1 MB Notification: Performance of SimCode: time 1.964e-06/0.4677, allocations: 0 / 490 MB, free: 15.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04599/0.5137, allocations: 21.49 MB / 0.4995 GB, free: 15.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.5139, allocations: 236.4 kB / 0.4998 GB, free: 15.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.707, allocations: 0 / 0.4998 GB, free: 15.26 MB / 382.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe 2>&1)