Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.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.LoadImpedancePQ,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_LoadImpedancePQ",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.001107/0.001107, allocations: 98.77 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.00156/0.00156, 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.415/1.415, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2489/0.2489, allocations: 14.17 MB / 305.1 MB, free: 1.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003764, allocations: 12 kB / 369.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 53.92 MB / 423.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.2572/0.3904, allocations: 8.384 MB / 432 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.3969, allocations: 4.033 MB / 436 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.3983, allocations: 32.09 kB / 436.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.3994, allocations: 401 kB / 436.4 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.4036, allocations: 1.676 MB / 438.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.4043, allocations: 312.1 kB / 438.4 MB, free: 31.45 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 ‘load1.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 ‘load2.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 ‘load3.UStart / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003251/0.4076, allocations: 1.879 MB / 440.3 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.4086, allocations: 0.5712 MB / 440.9 MB, free: 30.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.4099, allocations: 0.7624 MB / 441.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008194/0.4107, allocations: 0.7819 MB / 442.4 MB, free: 29.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.4108, allocations: 42.31 kB / 442.5 MB, free: 29.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.4119, allocations: 328.6 kB / 442.8 MB, free: 29.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.412, allocations: 181.6 kB / 443 MB, free: 29.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.4123, allocations: 309.2 kB / 443.3 MB, free: 29.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.4137, allocations: 1.456 MB / 444.7 MB, free: 28.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.4137, allocations: 0 / 444.7 MB, free: 28.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4137, allocations: 0 / 444.7 MB, free: 28.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4137, allocations: 3.281 kB / 444.7 MB, free: 28.61 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.01013/0.4238, allocations: 2.57 MB / 447.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4239, allocations: 13.75 kB / 447.3 MB, free: 27.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003288/0.4242, allocations: 169.6 kB / 447.5 MB, free: 27.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.4253, allocations: 229.9 kB / 447.7 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.4269, allocations: 0.8973 MB / 448.6 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.427, allocations: 91.52 kB / 448.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.4272, allocations: 118.5 kB / 448.8 MB, free: 26.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.4293, allocations: 1.143 MB / 449.9 MB, free: 26.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.4294, allocations: 3.938 kB / 449.9 MB, free: 26.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.4295, allocations: 48.47 kB / 450 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.4295, allocations: 28 kB / 450 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.4311, allocations: 1.073 MB / 451.1 MB, free: 25.62 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.006731/0.4378, allocations: 7.099 MB / 458.2 MB, free: 19.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.4402, allocations: 1.542 MB / 459.7 MB, free: 18.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.815e-05/0.4403, allocations: 21.02 kB / 459.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.4404, allocations: 52.56 kB / 459.8 MB, free: 18.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=119): time 4.399e-06/0.4404, allocations: 4 kB / 459.8 MB, free: 18.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.003427/0.4439, allocations: 1.737 MB / 461.5 MB, free: 17.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4439, allocations: 200 kB / 461.7 MB, free: 17.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000845/0.4448, allocations: 0.7448 MB / 462.5 MB, free: 17.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-05/0.4449, allocations: 52.8 kB / 462.5 MB, free: 17.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.4452, allocations: 0.4958 MB / 463 MB, free: 16.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.4455, allocations: 438.8 kB / 463.5 MB, free: 16.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.4456, allocations: 34.06 kB / 463.5 MB, free: 16.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4457, allocations: 422.8 kB / 463.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.4465, allocations: 495.2 kB / 464.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.4473, allocations: 0.6693 MB / 465.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.4482, allocations: 0.5995 MB / 465.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4482, allocations: 2.875 kB / 465.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002527/0.4507, allocations: 1.658 MB / 467.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.4507, allocations: 6.469 kB / 467.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.4508, allocations: 3.156 kB / 467.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.4513, allocations: 167.6 kB / 467.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.4533, allocations: 464.8 kB / 468 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.4566, allocations: 4.489 MB / 472.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4584, allocations: 129 kB / 472.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.4585, allocations: 59 kB / 472.6 MB, free: 9.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (212): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006723/0.4592, allocations: 299.7 kB / 472.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003764/0.4596, allocations: 119.2 kB / 473 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.4619, allocations: 1.168 MB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.4619, allocations: 13.12 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.4619, allocations: 8.844 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.4619, allocations: 4.281 kB / 474.2 MB, free: 9.02 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.005275/0.4672, allocations: 3.122 MB / 477.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.4673, allocations: 6.438 kB / 477.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/0.4691, allocations: 283 kB / 477.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.4696, allocations: 166.3 kB / 477.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.781e-05/0.4697, allocations: 30.38 kB / 477.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/0.4732, allocations: 4.489 MB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4732, allocations: 1.688 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.4756, allocations: 1.424 MB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/0.4762, allocations: 282 kB / 484 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.4764, allocations: 22.88 kB / 484 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008547/0.4772, allocations: 44.64 kB / 484.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.4775, allocations: 86.62 kB / 484.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.4775, allocations: 39.72 kB / 484.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007369/0.4783, allocations: 498.2 kB / 484.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4783, allocations: 0 / 484.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001701/0.48, allocations: 464 kB / 485.1 MB, free: 1.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (110): * Single equations (assignments): 107 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002773/0.4828, allocations: 2.414 MB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.4858, allocations: 1.636 MB / 489.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4858, allocations: 0 / 489.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.4873, allocations: 0.8903 MB / 490.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.4883, allocations: 115.6 kB / 490.2 MB, free: 14.09 MB / 366.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.006751/0.495, allocations: 5.33 MB / 495.5 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/0.4959, allocations: 1.109 MB / 496.6 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009955/0.4969, allocations: 176.7 kB / 496.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.4975, allocations: 454.5 kB / 497.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4976, allocations: 0 / 497.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04693/0.5445, allocations: 22.01 MB / 0.5071 GB, free: 6.871 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.5447, allocations: 195.8 kB / 0.5073 GB, free: 6.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.075, allocations: 7.875 kB / 0.5073 GB, free: 6.617 MB / 382.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_LoadImpedancePQ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_LoadImpedancePQ.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1)