Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",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.001033/0.001033, allocations: 99.55 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.001173/0.001174, 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.498/1.498, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2312/0.2312, allocations: 14.18 MB / 305.1 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 12 kB / 369.7 MB, free: 6.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.132, allocations: 53.92 MB / 423.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.2364/0.3685, allocations: 3.66 MB / 427.3 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004081/0.3727, allocations: 2.208 MB / 429.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.3731, allocations: 13.91 kB / 429.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.3737, allocations: 191.4 kB / 429.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.3762, allocations: 0.9314 MB / 430.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.3769, allocations: 276.1 kB / 430.9 MB, free: 36.51 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‘ Notification: Performance of NFFlatten.flatten: time 0.001792/0.3787, allocations: 0.6404 MB / 431.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007183/0.3795, allocations: 351.4 kB / 431.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.3799, allocations: 279.4 kB / 432.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.3803, allocations: 270.5 kB / 432.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.3803, allocations: 14.09 kB / 432.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.381, allocations: 236.3 kB / 432.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.3811, allocations: 75.2 kB / 432.7 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3812, allocations: 124.9 kB / 432.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.3818, allocations: 0.5672 MB / 433.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.3818, allocations: 0 / 433.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3818, allocations: 2.969 kB / 433.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3818, allocations: 0 / 433.4 MB, free: 35.66 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002682/0.3845, allocations: 0.9868 MB / 434.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3846, allocations: 9.031 kB / 434.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.149e-05/0.3846, allocations: 75.28 kB / 434.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.3849, allocations: 78.83 kB / 434.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.3855, allocations: 426.4 kB / 435 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.3856, allocations: 32 kB / 435 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.3856, allocations: 39.31 kB / 435 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.3862, allocations: 396.4 kB / 435.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3862, allocations: 3.938 kB / 435.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.3863, allocations: 22.39 kB / 435.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3863, allocations: 12.84 kB / 435.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.3868, allocations: 359.2 kB / 435.8 MB, free: 34.26 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.002094/0.3889, allocations: 2.411 MB / 438.2 MB, free: 32.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.3898, allocations: 0.5843 MB / 438.8 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.3899, allocations: 9.609 kB / 438.8 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3899, allocations: 41.64 kB / 438.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.3899, allocations: 3.938 kB / 438.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002201/0.3921, allocations: 0.8221 MB / 439.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3922, allocations: 80.36 kB / 439.8 MB, free: 31.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.3925, allocations: 336.8 kB / 440.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3925, allocations: 37.48 kB / 440.1 MB, free: 31.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3926, allocations: 213.8 kB / 440.3 MB, free: 30.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/0.3927, allocations: 152 kB / 440.5 MB, free: 30.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.3928, allocations: 15.47 kB / 440.5 MB, free: 30.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.3929, allocations: 358 kB / 440.8 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.3931, allocations: 174.8 kB / 441 MB, free: 30.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3935, allocations: 218.7 kB / 441.2 MB, free: 30.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.3938, allocations: 211.7 kB / 441.4 MB, free: 30.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3938, allocations: 0 / 441.4 MB, free: 30.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001147/0.3949, allocations: 0.6608 MB / 442.1 MB, free: 29.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.395, allocations: 7.172 kB / 442.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.395, allocations: 3.188 kB / 442.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006772/0.3956, allocations: 156.8 kB / 442.3 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.3961, allocations: 128 kB / 442.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.3986, allocations: 2.127 MB / 444.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.399, allocations: 37.91 kB / 444.5 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.3991, allocations: 17.28 kB / 444.6 MB, free: 28.09 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 (63): * Single equations (assignments): 62 * 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 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002163/0.3993, allocations: 179.3 kB / 444.7 MB, free: 27.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.3994, allocations: 44.58 kB / 444.8 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.4005, allocations: 0.5224 MB / 445.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4005, allocations: 2.906 kB / 445.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4005, allocations: 3.188 kB / 445.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4005, allocations: 3.375 kB / 445.3 MB, free: 27.66 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.001769/0.4023, allocations: 1.287 MB / 446.6 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4023, allocations: 3 kB / 446.6 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.4026, allocations: 86.94 kB / 446.7 MB, free: 26.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006018/0.4032, allocations: 155.1 kB / 446.8 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.4033, allocations: 6.969 kB / 446.8 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.4053, allocations: 2.056 MB / 448.9 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4054, allocations: 3.094 kB / 448.9 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.4064, allocations: 0.6133 MB / 449.5 MB, free: 24.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4065, allocations: 146.8 kB / 449.7 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.4066, allocations: 7.344 kB / 449.7 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.4069, allocations: 29.38 kB / 449.7 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.407, allocations: 41.41 kB / 449.7 MB, free: 24.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.407, allocations: 11.94 kB / 449.8 MB, free: 24.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002164/0.4072, allocations: 227.3 kB / 450 MB, free: 24.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4072, allocations: 0 / 450 MB, free: 24.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.4079, allocations: 191.5 kB / 450.2 MB, free: 24.42 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 (33): * Single equations (assignments): 32 * 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 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/0.4092, allocations: 1.264 MB / 451.4 MB, free: 23.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.4103, allocations: 0.6167 MB / 452 MB, free: 23.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4103, allocations: 4.125 kB / 452 MB, free: 23.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.4109, allocations: 370.8 kB / 452.4 MB, free: 22.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.4113, allocations: 49.69 kB / 452.5 MB, free: 22.95 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.001542/0.4128, allocations: 1.54 MB / 454 MB, free: 21.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.4131, allocations: 0.8357 MB / 454.8 MB, free: 21.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.4133, allocations: 51.73 kB / 454.9 MB, free: 21.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.4135, allocations: 154.3 kB / 455 MB, free: 20.95 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4135, allocations: 0 / 455 MB, free: 20.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.4408, allocations: 10.19 MB / 465.2 MB, free: 20.26 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/0.4412, allocations: 227 kB / 465.4 MB, free: 20.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.482, allocations: 0 / 465.4 MB, free: 20.02 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1)