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.00105/0.00105, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001292/0.001292, 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.499/1.499, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1844/0.1844, allocations: 14.18 MB / 305.3 MB, free: 1.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003019, allocations: 8 kB / 369.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 53.94 MB / 423.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.2316/0.3324, allocations: 9.259 MB / 433 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006138/0.3385, allocations: 4.052 MB / 437 MB, free: 32.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.3401, allocations: 29.38 kB / 437.1 MB, free: 32.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.3414, allocations: 412.4 kB / 437.5 MB, free: 32.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.3456, allocations: 1.553 MB / 439 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.3463, allocations: 303.3 kB / 439.3 MB, free: 30.95 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 ‘load1.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092: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:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load3.UStart / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.002804/0.3491, allocations: 2.524 MB / 441.9 MB, free: 29.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000833/0.3499, allocations: 0.5712 MB / 442.4 MB, free: 29.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.351, allocations: 0.7327 MB / 443.2 MB, free: 29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/0.3517, allocations: 0.7964 MB / 444 MB, free: 28.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/0.3518, allocations: 42.62 kB / 444 MB, free: 28.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008328/0.3527, allocations: 339.4 kB / 444.3 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.3528, allocations: 180.5 kB / 444.5 MB, free: 28.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.353, allocations: 311.8 kB / 444.8 MB, free: 28.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.3542, allocations: 1.473 MB / 446.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3542, allocations: 0 / 446.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3542, allocations: 0 / 446.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.3542, allocations: 0 / 446.3 MB, free: 27.86 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.008656/0.3629, allocations: 2.581 MB / 448.9 MB, free: 26.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.3629, allocations: 13.55 kB / 448.9 MB, free: 26.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002939/0.3632, allocations: 166.5 kB / 449 MB, free: 26.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008687/0.3641, allocations: 230.7 kB / 449.3 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.3656, allocations: 0.8934 MB / 450.2 MB, free: 25.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.3656, allocations: 89.89 kB / 450.2 MB, free: 25.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.3658, allocations: 114.5 kB / 450.4 MB, free: 25.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.3673, allocations: 1.162 MB / 451.5 MB, free: 25.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.3673, allocations: 7.156 kB / 451.5 MB, free: 25.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.3674, allocations: 41.88 kB / 451.6 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.3675, allocations: 32.64 kB / 451.6 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.369, allocations: 1.077 MB / 452.7 MB, free: 24.86 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.005334/0.3744, allocations: 7.087 MB / 459.8 MB, free: 18.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.3766, allocations: 1.554 MB / 461.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.3772, allocations: 445.2 kB / 461.8 MB, free: 17.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.497e-05/0.3773, allocations: 24.23 kB / 461.8 MB, free: 17.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3774, allocations: 51.94 kB / 461.8 MB, free: 17.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=119): time 4.198e-06/0.3774, allocations: 0 / 461.8 MB, free: 17.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.003051/0.3804, allocations: 1.741 MB / 463.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3805, allocations: 196.2 kB / 463.8 MB, free: 16.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.3813, allocations: 0.746 MB / 464.5 MB, free: 16.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.3814, allocations: 47.7 kB / 464.6 MB, free: 16.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.3817, allocations: 0.4971 MB / 465 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.382, allocations: 430.1 kB / 465.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.3821, allocations: 37.56 kB / 465.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3823, allocations: 429 kB / 465.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006941/0.383, allocations: 491.9 kB / 466.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.3837, allocations: 0.6811 MB / 467.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008227/0.3846, allocations: 0.5922 MB / 467.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3846, allocations: 6.797 kB / 467.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002671/0.3873, allocations: 1.657 MB / 469.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.3873, allocations: 9.734 kB / 469.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3873, allocations: 3.062 kB / 469.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.3879, allocations: 165.4 kB / 469.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.3898, allocations: 462.5 kB / 470 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.393, allocations: 4.451 MB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.3946, allocations: 123.7 kB / 474.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.3947, allocations: 59.41 kB / 474.6 MB, free: 8.926 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.0006275/0.3954, allocations: 309 kB / 474.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.3957, allocations: 116.2 kB / 475 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.398, allocations: 1.166 MB / 476.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.398, allocations: 12.09 kB / 476.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.398, allocations: 5.312 kB / 476.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.398, allocations: 7.078 kB / 476.2 MB, free: 8.078 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.00565/0.4037, allocations: 3.125 MB / 479.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4037, allocations: 4.938 kB / 479.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.405, allocations: 287.4 kB / 479.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.4055, allocations: 172.5 kB / 479.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.4056, allocations: 26.34 kB / 479.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/0.4094, allocations: 4.447 MB / 484.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4094, allocations: 2.188 kB / 484.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.4119, allocations: 1.363 MB / 485.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.4126, allocations: 286.2 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.4127, allocations: 19.03 kB / 485.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000866/0.4136, allocations: 49.58 kB / 486 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.4138, allocations: 82.61 kB / 486 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.4138, allocations: 28.34 kB / 486.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000803/0.4147, allocations: 0.4906 MB / 486.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4147, allocations: 0 / 486.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001752/0.4164, allocations: 472.9 kB / 487 MB, free: 456 kB / 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.002815/0.4193, allocations: 2.01 MB / 489 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.4231, allocations: 1.641 MB / 490.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4231, allocations: 0 / 490.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.4246, allocations: 0.8899 MB / 491.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.426, allocations: 130.3 kB / 491.7 MB, free: 13.65 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.01323/0.4393, allocations: 6.659 MB / 498.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/0.4402, allocations: 1.091 MB / 499.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.4412, allocations: 177.8 kB / 499.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/0.4419, allocations: 452.3 kB / 0.4883 GB, free: 8.777 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4419, allocations: 5.281 kB / 0.4883 GB, free: 8.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04335/0.4853, allocations: 22.48 MB / 0.5103 GB, free: 3.617 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.4855, allocations: 199 kB / 0.5105 GB, free: 3.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.001, allocations: 0 / 0.5105 GB, free: 3.371 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)