Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.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.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",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.001012/0.001011, allocations: 99.31 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.0009903/0.0009903, allocations: 177.3 kB / 15.94 MB, free: 220 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.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 12 kB / 369.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 53.92 MB / 423.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.2257/0.3372, allocations: 5.934 MB / 429.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.3416, allocations: 3.126 MB / 432.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005278/0.3422, allocations: 20 kB / 432.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006867/0.3429, allocations: 296.9 kB / 433 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.3456, allocations: 1.28 MB / 434.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.3463, allocations: 341.1 kB / 434.6 MB, free: 34.22 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‘ Notification: Performance of NFFlatten.flatten: time 0.001925/0.3483, allocations: 1.248 MB / 435.8 MB, free: 33.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.3489, allocations: 469.8 kB / 436.3 MB, free: 33.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.3495, allocations: 0.5297 MB / 436.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.35, allocations: 0.5181 MB / 437.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.3501, allocations: 30.06 kB / 437.4 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007092/0.3508, allocations: 280.4 kB / 437.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.3509, allocations: 120.1 kB / 437.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3511, allocations: 214 kB / 438 MB, free: 32.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008142/0.3519, allocations: 1.01 MB / 439 MB, free: 32.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3519, allocations: 0 / 439 MB, free: 32.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3519, allocations: 0 / 439 MB, free: 32.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3519, allocations: 0 / 439 MB, free: 32.2 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004597/0.3565, allocations: 1.585 MB / 440.6 MB, free: 31.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3566, allocations: 7 kB / 440.6 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.3567, allocations: 114.2 kB / 440.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005981/0.3573, allocations: 161.2 kB / 440.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.3587, allocations: 0.6488 MB / 441.5 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.3588, allocations: 58 kB / 441.6 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/0.3589, allocations: 74.41 kB / 441.6 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.36, allocations: 0.717 MB / 442.3 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.36, allocations: 3.375 kB / 442.3 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.3601, allocations: 30.44 kB / 442.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.3601, allocations: 24.33 kB / 442.4 MB, free: 30.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3612, allocations: 0.6593 MB / 443.1 MB, free: 30.1 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.003804/0.365, allocations: 4.615 MB / 447.7 MB, free: 26.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.3667, allocations: 1.298 MB / 449 MB, free: 25.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.3668, allocations: 13.64 kB / 449 MB, free: 25.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3668, allocations: 53.94 kB / 449 MB, free: 25.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.747e-06/0.3669, allocations: 0 / 449 MB, free: 25.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.004143/0.371, allocations: 1.555 MB / 450.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3711, allocations: 135.1 kB / 450.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.3716, allocations: 0.539 MB / 451.3 MB, free: 24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.3717, allocations: 40.89 kB / 451.3 MB, free: 23.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.372, allocations: 347.2 kB / 451.6 MB, free: 23.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.3722, allocations: 299.1 kB / 451.9 MB, free: 23.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.3723, allocations: 26.41 kB / 452 MB, free: 23.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3724, allocations: 388 kB / 452.3 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/0.3729, allocations: 330.5 kB / 452.7 MB, free: 22.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.3735, allocations: 436.1 kB / 453.1 MB, free: 22.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005937/0.3741, allocations: 402.3 kB / 453.5 MB, free: 22.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3741, allocations: 0 / 453.5 MB, free: 22.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002251/0.3763, allocations: 1.27 MB / 454.8 MB, free: 22.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.3764, allocations: 4.938 kB / 454.8 MB, free: 22.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3764, allocations: 3 kB / 454.8 MB, free: 22.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.3777, allocations: 318.9 kB / 455.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.3786, allocations: 255.6 kB / 455.3 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/0.3832, allocations: 4.246 MB / 459.6 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.3842, allocations: 82.72 kB / 459.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.3843, allocations: 37.48 kB / 459.7 MB, free: 18.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (126): * Single equations (assignments): 124 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 9,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004037/0.3847, allocations: 233.4 kB / 459.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.3849, allocations: 84.59 kB / 460 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.3868, allocations: 0.927 MB / 460.9 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3868, allocations: 8.969 kB / 460.9 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3868, allocations: 4.578 kB / 460.9 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3868, allocations: 6.328 kB / 460.9 MB, free: 17.83 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.003129/0.39, allocations: 2.422 MB / 463.4 MB, free: 16.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.39, allocations: 3.953 kB / 463.4 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.3905, allocations: 138.6 kB / 463.5 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.3916, allocations: 314.9 kB / 463.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3917, allocations: 13.94 kB / 463.8 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/0.3958, allocations: 4.115 MB / 467.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3959, allocations: 0 / 467.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.3979, allocations: 1.118 MB / 469.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.3982, allocations: 213.5 kB / 469.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.3983, allocations: 11.19 kB / 469.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.3988, allocations: 42.41 kB / 469.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.399, allocations: 67.59 kB / 469.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.399, allocations: 22.97 kB / 469.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004423/0.3995, allocations: 372.7 kB / 469.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3995, allocations: 0 / 469.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001184/0.4006, allocations: 349.5 kB / 470.1 MB, free: 11.74 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 9,3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002319/0.403, allocations: 1.929 MB / 472 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.4052, allocations: 1.188 MB / 473.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4052, allocations: 5.312 kB / 473.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.4064, allocations: 0.7056 MB / 473.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/0.4071, allocations: 82.42 kB / 474 MB, free: 9.332 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.002923/0.41, allocations: 2.769 MB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.4105, allocations: 0.9692 MB / 477.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004374/0.4109, allocations: 102.7 kB / 477.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.4113, allocations: 289.7 kB / 478.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4113, allocations: 0 / 478.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.4535, allocations: 18.33 MB / 496.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.4538, allocations: 219 kB / 496.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/2.75, allocations: 0 / 496.7 MB, free: 14.3 MB / 366.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1)