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.0008697/0.0008699, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0008722/0.0008723, 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.556/1.556, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.234/0.234, allocations: 14.19 MB / 305.3 MB, free: 1.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 15.94 kB / 369.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 53.92 MB / 423.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.2688/0.4033, allocations: 3.723 MB / 427.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.4069, allocations: 2.225 MB / 429.7 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.4072, allocations: 15.38 kB / 429.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.4078, allocations: 190.6 kB / 429.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.4099, allocations: 0.8903 MB / 430.8 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.4104, allocations: 266 kB / 431 MB, free: 36.32 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.001036/0.4114, allocations: 0.8362 MB / 431.9 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.4119, allocations: 341.1 kB / 432.2 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.4122, allocations: 267 kB / 432.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.4125, allocations: 258.4 kB / 432.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.4125, allocations: 19.95 kB / 432.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.4131, allocations: 249.8 kB / 433 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.4131, allocations: 61.69 kB / 433 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.4133, allocations: 126.7 kB / 433.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.4138, allocations: 0.5594 MB / 433.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4138, allocations: 0 / 433.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4139, allocations: 0 / 433.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4139, allocations: 0 / 433.7 MB, free: 35.55 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.002506/0.4164, allocations: 0.9489 MB / 434.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4164, allocations: 13.31 kB / 434.7 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.44e-05/0.4165, allocations: 77.69 kB / 434.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.4168, allocations: 80.02 kB / 434.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.4174, allocations: 417.5 kB / 435.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.4174, allocations: 27.59 kB / 435.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.4175, allocations: 35.09 kB / 435.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.418, allocations: 372.4 kB / 435.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.418, allocations: 0 / 435.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.4181, allocations: 15.78 kB / 435.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4181, allocations: 10.7 kB / 435.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.4185, allocations: 317.9 kB / 436 MB, free: 34.18 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.001815/0.4203, allocations: 2.354 MB / 438.3 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.4211, allocations: 0.5662 MB / 438.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.4213, allocations: 129 kB / 439 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.4214, allocations: 12.27 kB / 439 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.4214, allocations: 37.28 kB / 439.1 MB, free: 31.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.453e-06/0.4214, allocations: 4 kB / 439.1 MB, free: 31.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001916/0.4233, allocations: 0.7645 MB / 439.9 MB, free: 31.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.4234, allocations: 84.83 kB / 439.9 MB, free: 31.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.4236, allocations: 323.5 kB / 440.3 MB, free: 31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.4237, allocations: 36.67 kB / 440.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.4238, allocations: 208.2 kB / 440.5 MB, free: 30.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.4239, allocations: 144.5 kB / 440.6 MB, free: 30.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.4239, allocations: 11.56 kB / 440.6 MB, free: 30.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.424, allocations: 355.1 kB / 441 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.4242, allocations: 153.4 kB / 441.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.4245, allocations: 207.1 kB / 441.3 MB, free: 30.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.4247, allocations: 192.9 kB / 441.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4247, allocations: 0 / 441.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00101/0.4257, allocations: 0.6218 MB / 442.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4258, allocations: 6.688 kB / 442.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4258, allocations: 0 / 442.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/0.4264, allocations: 173.8 kB / 442.3 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.4269, allocations: 117.8 kB / 442.4 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.4292, allocations: 2.085 MB / 444.5 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.4296, allocations: 36.81 kB / 444.6 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.4296, allocations: 16.44 kB / 444.6 MB, free: 28.05 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.0002063/0.4299, allocations: 176.1 kB / 444.8 MB, free: 27.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.4299, allocations: 39.44 kB / 444.8 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/0.4308, allocations: 477.4 kB / 445.3 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4308, allocations: 3.094 kB / 445.3 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.4308, allocations: 0 / 445.3 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.4308, allocations: 3.094 kB / 445.3 MB, free: 27.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.001488/0.4323, allocations: 1.191 MB / 446.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4324, allocations: 0 / 446.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.4326, allocations: 63.23 kB / 446.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.4331, allocations: 166 kB / 446.7 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.4332, allocations: 7.812 kB / 446.7 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.4352, allocations: 2.019 MB / 448.7 MB, free: 25.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4352, allocations: 3.938 kB / 448.7 MB, free: 25.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.436, allocations: 0.5409 MB / 449.2 MB, free: 24.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.4362, allocations: 147.4 kB / 449.4 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.4362, allocations: 7.906 kB / 449.4 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.4365, allocations: 11.38 kB / 449.4 MB, free: 24.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.4365, allocations: 26.86 kB / 449.4 MB, free: 24.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4365, allocations: 17.33 kB / 449.5 MB, free: 24.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4368, allocations: 222.6 kB / 449.7 MB, free: 24.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4368, allocations: 0 / 449.7 MB, free: 24.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006357/0.4374, allocations: 175.8 kB / 449.8 MB, free: 24.51 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.001143/0.4386, allocations: 1.12 MB / 451 MB, free: 23.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009689/0.4395, allocations: 0.586 MB / 451.6 MB, free: 23.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4396, allocations: 0 / 451.6 MB, free: 23.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.4401, allocations: 361.2 kB / 451.9 MB, free: 23.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.4406, allocations: 56.28 kB / 452 MB, free: 23.13 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.003548/0.4441, allocations: 2.36 MB / 454.3 MB, free: 21.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.4444, allocations: 0.8134 MB / 455.1 MB, free: 21.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.4446, allocations: 50.83 kB / 455.2 MB, free: 21.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.4448, allocations: 130.7 kB / 455.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4448, allocations: 0 / 455.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.4721, allocations: 9.888 MB / 465.2 MB, free: 20.29 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/0.4724, allocations: 223.8 kB / 465.4 MB, free: 20.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.503, allocations: 0 / 465.4 MB, free: 20.04 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)